Package org.keycloak.url
Class FixedHostnameProvider
- java.lang.Object
- 
- org.keycloak.url.FixedHostnameProvider
 
- 
- All Implemented Interfaces:
- Provider,- HostnameProvider
 
 @Deprecated public class FixedHostnameProvider extends Object implements HostnameProvider Deprecated.
- 
- 
Constructor SummaryConstructors Constructor Description FixedHostnameProvider(KeycloakSession session, boolean alwaysHttps, String globalHostname, int httpPort, int httpsPort)Deprecated.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetHostname(javax.ws.rs.core.UriInfo originalUriInfo)Deprecated.Returns the host.intgetPort(javax.ws.rs.core.UriInfo originalUriInfo)Deprecated.Returns the port (or -1 for default port).StringgetScheme(javax.ws.rs.core.UriInfo originalUriInfo)Deprecated.Returns the URL scheme.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.keycloak.urls.HostnameProviderclose, getContextPath, getContextPath, getHostname, getPort, getScheme
 
- 
 
- 
- 
- 
Constructor Detail- 
FixedHostnameProviderpublic FixedHostnameProvider(KeycloakSession session, boolean alwaysHttps, String globalHostname, int httpPort, int httpsPort) Deprecated.
 
- 
 - 
Method Detail- 
getSchemepublic String getScheme(javax.ws.rs.core.UriInfo originalUriInfo) Deprecated.Description copied from interface:HostnameProviderReturns the URL scheme. If not implemented will get the scheme from the request.- Specified by:
- getSchemein interface- HostnameProvider
- Parameters:
- originalUriInfo- the original URI
- Returns:
- the schema
 
 - 
getHostnamepublic String getHostname(javax.ws.rs.core.UriInfo originalUriInfo) Deprecated.Description copied from interface:HostnameProviderReturns the host. If not implemented will get the host from the request.- Specified by:
- getHostnamein interface- HostnameProvider
- Returns:
- the host
 
 - 
getPortpublic int getPort(javax.ws.rs.core.UriInfo originalUriInfo) Deprecated.Description copied from interface:HostnameProviderReturns the port (or -1 for default port). If not implemented will get the port from the request.- Specified by:
- getPortin interface- HostnameProvider
- Parameters:
- originalUriInfo- the original URI
- Returns:
- the port
 
 
- 
 
-