public class DefaultHostnameProvider extends Object implements HostnameProvider
Constructor and Description |
---|
DefaultHostnameProvider(KeycloakSession session,
URI frontendUri,
URI adminUri,
boolean forceBackendUrlToFrontendUrl) |
Modifier and Type | Method and Description |
---|---|
String |
getContextPath(javax.ws.rs.core.UriInfo originalUriInfo,
UrlType type) |
String |
getHostname(javax.ws.rs.core.UriInfo originalUriInfo,
UrlType type) |
int |
getPort(javax.ws.rs.core.UriInfo originalUriInfo,
UrlType type) |
String |
getScheme(javax.ws.rs.core.UriInfo originalUriInfo,
UrlType type) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, getContextPath, getHostname, getPort, getScheme
public DefaultHostnameProvider(KeycloakSession session, URI frontendUri, URI adminUri, boolean forceBackendUrlToFrontendUrl)
public String getScheme(javax.ws.rs.core.UriInfo originalUriInfo, UrlType type)
getScheme
in interface HostnameProvider
public String getHostname(javax.ws.rs.core.UriInfo originalUriInfo, UrlType type)
getHostname
in interface HostnameProvider
public int getPort(javax.ws.rs.core.UriInfo originalUriInfo, UrlType type)
getPort
in interface HostnameProvider
public String getContextPath(javax.ws.rs.core.UriInfo originalUriInfo, UrlType type)
getContextPath
in interface HostnameProvider
Copyright © 2021 JBoss by Red Hat. All rights reserved.