public class Delegate extends Object
| Constructor and Description |
|---|
Delegate(DelegateClientRequestCreator delegateClientRequestCreator,
String name,
Pattern pattern,
Set<io.vertx.core.http.HttpMethod> methods,
List<DelegateRequest> requests)
Creates a new instance of a Delegate.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Returns the name of the delegate.
|
void |
handle(io.vertx.core.http.HttpServerRequest request)
Handles the given request.
|
public Delegate(DelegateClientRequestCreator delegateClientRequestCreator, String name, Pattern pattern, Set<io.vertx.core.http.HttpMethod> methods, List<DelegateRequest> requests)
delegateClientRequestCreator - selfClientname - name of delegatepattern - pattern for the delegatemethods - methods of the delegaterequests - requests of the delegatepublic String getName()
public void handle(io.vertx.core.http.HttpServerRequest request)
request - original requestCopyright © 2016–2021. All rights reserved.