HttpHandler to the Undertow io.undertow.server.HttpHandler .
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private DataBufferFactory | |
| private final HttpHandler | |
| private static final Log |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public DataBufferFactory | |
| public void | handleRequest(HttpServerExchange
the HTTP request/response exchange exchange)Implements io. Handle the request. |
| public void |
| bufferFactory | back to summary |
|---|---|
| private DataBufferFactory bufferFactory | |
| httpHandler | back to summary |
|---|---|
| private final HttpHandler httpHandler | |
| logger | back to summary |
|---|---|
| private static final Log logger | |
| UndertowHttpHandlerAdapter | back to summary |
|---|---|
| public UndertowHttpHandlerAdapter(HttpHandler httpHandler) | |
| getDataBufferFactory | back to summary |
|---|---|
| public DataBufferFactory getDataBufferFactory() | |
| handleRequest | back to summary |
|---|---|
| public void handleRequest(HttpServerExchange exchange) Implements io. Doc from io. Handle the request.
| |
| setDataBufferFactory | back to summary |
|---|---|
| public void setDataBufferFactory(DataBufferFactory bufferFactory) | |
| Modifier and Type | Field and Description |
|---|---|
| private final HttpServerExchange | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | onError(Throwable
the throwable signaled ex)Implements org. Failed terminal state. |
| public void | onNext(Void
the element signaled aVoid)Implements org. Data notification sent by the |
| public void | onSubscribe(Subscription
the subscription)Subscription that allows requesting data via Subscription#request(long)Implements org. Invoked after calling |
| exchange | back to summary |
|---|---|
| private final HttpServerExchange exchange | |
| logPrefix | back to summary |
|---|---|
| private final String logPrefix | |
| HandlerResultSubscriber | back to summary |
|---|---|
| public HandlerResultSubscriber(HttpServerExchange exchange, UndertowServerHttpRequest request) | |
| onComplete | back to summary |
|---|---|
| public void onComplete() Implements org. Doc from org. Successful terminal state.
No further events will be sent even if
| |
| onError | back to summary |
|---|---|
| public void onError(Throwable ex) Implements org. Doc from org. Failed terminal state.
No further events will be sent even if | |
| onNext | back to summary |
|---|---|
| public void onNext(Void aVoid) Implements org. Doc from org. Data notification sent by the | |
| onSubscribe | back to summary |
|---|---|
| public void onSubscribe(Subscription subscription) Implements org. Doc from org. Invoked after calling
No data will start flowing until
It is the responsibility of this
The
| |