Package org.keycloak.url
Class RequestHostnameProvider
java.lang.Object
org.keycloak.url.RequestHostnameProvider
- All Implemented Interfaces:
Provider
,HostnameProvider
Deprecated.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetHostname
(jakarta.ws.rs.core.UriInfo originalUriInfo) Deprecated.Returns the host.int
getPort
(jakarta.ws.rs.core.UriInfo originalUriInfo) Deprecated.Returns the port (or -1 for default port).getScheme
(jakarta.ws.rs.core.UriInfo originalUriInfo) Deprecated.Returns the URL scheme.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.keycloak.urls.HostnameProvider
close, getContextPath, getContextPath, getHostname, getPort, getScheme
-
Constructor Details
-
RequestHostnameProvider
public RequestHostnameProvider()Deprecated.
-
-
Method Details
-
getScheme
Deprecated.Description copied from interface:HostnameProvider
Returns the URL scheme. If not implemented will get the scheme from the request.- Specified by:
getScheme
in interfaceHostnameProvider
- Parameters:
originalUriInfo
- the original URI- Returns:
- the schema
-
getHostname
Deprecated.Description copied from interface:HostnameProvider
Returns the host. If not implemented will get the host from the request.- Specified by:
getHostname
in interfaceHostnameProvider
- Returns:
- the host
-
getPort
public int getPort(jakarta.ws.rs.core.UriInfo originalUriInfo) Deprecated.Description copied from interface:HostnameProvider
Returns the port (or -1 for default port). If not implemented will get the port from the request.- Specified by:
getPort
in interfaceHostnameProvider
- Parameters:
originalUriInfo
- the original URI- Returns:
- the port
-