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