@Deprecated public class RequestHostnameProvider extends Object implements HostnameProvider
Constructor and Description |
---|
RequestHostnameProvider()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
getHostname(javax.ws.rs.core.UriInfo originalUriInfo)
Deprecated.
Returns the host.
|
int |
getPort(javax.ws.rs.core.UriInfo originalUriInfo)
Deprecated.
Returns the port (or -1 for default port).
|
String |
getScheme(javax.ws.rs.core.UriInfo originalUriInfo)
Deprecated.
Returns the URL scheme.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, getContextPath, getContextPath, getHostname, getPort, getScheme
public String getScheme(javax.ws.rs.core.UriInfo originalUriInfo)
HostnameProvider
getScheme
in interface HostnameProvider
originalUriInfo
- the original URIpublic String getHostname(javax.ws.rs.core.UriInfo originalUriInfo)
HostnameProvider
getHostname
in interface HostnameProvider
public int getPort(javax.ws.rs.core.UriInfo originalUriInfo)
HostnameProvider
getPort
in interface HostnameProvider
originalUriInfo
- the original URICopyright © 2021 JBoss by Red Hat. All rights reserved.