public interface Proxy
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.UriBuilder |
constructForwardURLPath(javax.ws.rs.core.UriInfo sourceUriInfo)
construct URL that will be used to contact the target
|
javax.ws.rs.core.UriBuilder |
constructTargetURLPath(javax.ws.rs.core.UriInfo sourceUriInfo,
URL responseURLReceivedFromTarget)
construct URL to be given back to the client by processing the response URL received from target
|
String |
extractTargetInstanceName(javax.ws.rs.core.UriInfo uriInfo)
Extract instance name from given
uriInfo |
Properties |
proxyRequest(javax.ws.rs.core.UriInfo sourceUriInfo,
javax.ws.rs.client.Client client,
org.glassfish.hk2.api.ServiceLocator habitat)
Execute request in given
sourceUriInfo by acting as a proxy to the target instance |
Properties proxyRequest(javax.ws.rs.core.UriInfo sourceUriInfo, javax.ws.rs.client.Client client, org.glassfish.hk2.api.ServiceLocator habitat)
sourceUriInfo by acting as a proxy to the target instanceString extractTargetInstanceName(javax.ws.rs.core.UriInfo uriInfo)
uriInfojavax.ws.rs.core.UriBuilder constructForwardURLPath(javax.ws.rs.core.UriInfo sourceUriInfo)
javax.ws.rs.core.UriBuilder constructTargetURLPath(javax.ws.rs.core.UriInfo sourceUriInfo,
URL responseURLReceivedFromTarget)
Copyright © 2019. All rights reserved.