public class HttpInterceptorPipeline extends Object implements RoutingObject
| Modifier and Type | Class and Description |
|---|---|
static class |
HttpInterceptorPipeline.Factory
An yaml config based builder for HttpInterceptorPipeline.
|
| Modifier and Type | Field and Description |
|---|---|
static Schema.FieldType |
SCHEMA |
| Constructor and Description |
|---|
HttpInterceptorPipeline(List<HttpInterceptor> interceptors,
RoutingObject handler,
boolean trackRequests) |
| Modifier and Type | Method and Description |
|---|---|
Eventual<LiveHttpResponse> |
handle(LiveHttpRequest request,
HttpInterceptor.Context context) |
CompletableFuture<Void> |
stop() |
public static final Schema.FieldType SCHEMA
public HttpInterceptorPipeline(List<HttpInterceptor> interceptors, RoutingObject handler, boolean trackRequests)
public Eventual<LiveHttpResponse> handle(LiveHttpRequest request, HttpInterceptor.Context context)
handle in interface HttpHandlerpublic CompletableFuture<Void> stop()
stop in interface RoutingObjectCopyright © 2013–2020 Hotels.com. All rights reserved.