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, waitclose, getContextPath, getHostname, getPort, getSchemepublic DefaultHostnameProvider(KeycloakSession session, URI frontendUri, URI adminUri, boolean forceBackendUrlToFrontendUrl)
public String getScheme(javax.ws.rs.core.UriInfo originalUriInfo, UrlType type)
getScheme in interface HostnameProviderpublic String getHostname(javax.ws.rs.core.UriInfo originalUriInfo, UrlType type)
getHostname in interface HostnameProviderpublic int getPort(javax.ws.rs.core.UriInfo originalUriInfo,
UrlType type)
getPort in interface HostnameProviderpublic String getContextPath(javax.ws.rs.core.UriInfo originalUriInfo, UrlType type)
getContextPath in interface HostnameProviderCopyright © 2019 JBoss by Red Hat. All rights reserved.