public class ProxyMappingDetails
extends java.lang.Object
Constructor and Description |
---|
ProxyMappingDetails(java.lang.String proxyServiceUrl,
java.lang.String reverseServiceUrl,
java.lang.String servicePath) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getProxyServiceUrl()
Returns the base URL of the back end service being invoked including the exposed path of the service.
|
java.lang.String |
getReverseServiceUrl()
Returns the base URL of the front end request including the matched path.
|
java.lang.String |
getServicePath()
The full path being invoked on the back end service
|
java.lang.String |
rewriteBackendUrl(java.lang.String backEndUrl)
If a URL is relative to the back end proxy service then redirect it to be relative to the front end service
|
java.lang.String |
toString() |
public ProxyMappingDetails(java.lang.String proxyServiceUrl, java.lang.String reverseServiceUrl, java.lang.String servicePath)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String rewriteBackendUrl(java.lang.String backEndUrl)
getProxyServiceUrl()
public java.lang.String getProxyServiceUrl()
public java.lang.String getReverseServiceUrl()
public java.lang.String getServicePath()
Copyright © 2016 Red Hat. All Rights Reserved.