Package org.keycloak.url
Class HostnameV2Provider
java.lang.Object
org.keycloak.url.HostnameV2Provider
- All Implemented Interfaces:
Provider,HostnameProvider
- Author:
- Vaclav Muzikar <vmuzikar@redhat.com>
-
Constructor Summary
ConstructorsConstructorDescriptionHostnameV2Provider(KeycloakSession session, String hostname, URI hostnameUrl, URI adminUrl, Boolean backchannelDynamic) -
Method Summary
Modifier and TypeMethodDescriptiongetContextPath(jakarta.ws.rs.core.UriInfo originalUriInfo) getContextPath(jakarta.ws.rs.core.UriInfo originalUriInfo, UrlType type) getHostname(jakarta.ws.rs.core.UriInfo originalUriInfo) getHostname(jakarta.ws.rs.core.UriInfo originalUriInfo, UrlType type) intgetPort(jakarta.ws.rs.core.UriInfo originalUriInfo) intgetScheme(jakarta.ws.rs.core.UriInfo originalUriInfo) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.urls.HostnameProvider
close
-
Constructor Details
-
HostnameV2Provider
public HostnameV2Provider(KeycloakSession session, String hostname, URI hostnameUrl, URI adminUrl, Boolean backchannelDynamic)
-
-
Method Details
-
getScheme
- Specified by:
getSchemein interfaceHostnameProvider
-
getScheme
- Specified by:
getSchemein interfaceHostnameProvider
-
getHostname
- Specified by:
getHostnamein interfaceHostnameProvider
-
getHostname
- Specified by:
getHostnamein interfaceHostnameProvider
-
getPort
- Specified by:
getPortin interfaceHostnameProvider
-
getPort
public int getPort(jakarta.ws.rs.core.UriInfo originalUriInfo) - Specified by:
getPortin interfaceHostnameProvider
-
getContextPath
- Specified by:
getContextPathin interfaceHostnameProvider
-
getContextPath
- Specified by:
getContextPathin interfaceHostnameProvider
-