public class Delegate
extends java.lang.Object
| Constructor and Description |
|---|
Delegate(org.swisspush.gateleen.monitoring.MonitoringHandler monitoringHandler,
io.vertx.core.http.HttpClient selfClient,
java.lang.String name,
java.util.regex.Pattern pattern,
java.util.Set<io.vertx.core.http.HttpMethod> methods,
java.util.List<io.vertx.core.json.JsonObject> requests)
Creates a new instance of a Delegate.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Returns the name of the delegate.
|
void |
handle(io.vertx.core.http.HttpServerRequest request)
Handles the given request.
|
public Delegate(org.swisspush.gateleen.monitoring.MonitoringHandler monitoringHandler,
io.vertx.core.http.HttpClient selfClient,
java.lang.String name,
java.util.regex.Pattern pattern,
java.util.Set<io.vertx.core.http.HttpMethod> methods,
java.util.List<io.vertx.core.json.JsonObject> requests)
monitoringHandler - monitoringHandlerselfClient - selfClientname - name of delegatepattern - pattern for the delegatemethods - methods of the delegaterequests - requests of the delegate