public interface IMappedServices
| Modifier and Type | Method and Description |
|---|---|
String |
chooseService(org.vertx.java.core.http.HttpServerRequest request) |
String |
getContainer() |
String |
getId() |
ProxyMappingDetails |
getProxyMappingDetails() |
ServiceDetails |
getServiceDetails() |
Set<String> |
getServiceUrls() |
String |
getVersion() |
boolean |
isReverseHeaders() |
String |
rewriteUrl(String proxiedUrl)
Rewrites the URI response from a request to a URI in the gateway namespace
|
void |
setProxyMappingDetails(ProxyMappingDetails proxyMappingDetails) |
org.vertx.java.core.Handler<org.vertx.java.core.http.HttpClientResponse> |
wrapResponseHandlerInPolicies(org.vertx.java.core.http.HttpServerRequest request,
org.vertx.java.core.Handler<org.vertx.java.core.http.HttpClientResponse> responseHandler,
ProxyMappingDetails proxyMappingDetails)
Provides a hook so we can wrap a client response handler in a policy such
as to reverse the URIs
io.fabric8.gateway.handlers.http.policy.ReverseUriPolicy or
add metering, limits, security or contract checks etc. |
String chooseService(org.vertx.java.core.http.HttpServerRequest request)
org.vertx.java.core.Handler<org.vertx.java.core.http.HttpClientResponse> wrapResponseHandlerInPolicies(org.vertx.java.core.http.HttpServerRequest request,
org.vertx.java.core.Handler<org.vertx.java.core.http.HttpClientResponse> responseHandler,
ProxyMappingDetails proxyMappingDetails)
io.fabric8.gateway.handlers.http.policy.ReverseUriPolicy or
add metering, limits, security or contract checks etc.String rewriteUrl(String proxiedUrl)
String getContainer()
String getVersion()
String getId()
boolean isReverseHeaders()
ServiceDetails getServiceDetails()
ProxyMappingDetails getProxyMappingDetails()
void setProxyMappingDetails(ProxyMappingDetails proxyMappingDetails)
Copyright © 2011–2015 Red Hat. All rights reserved.