| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static enum |
| Modifier and Type | Field and Description |
|---|---|
| private final HttpHandler | |
| private static final ConduitWrapper |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | handleRequest(final HttpServerExchange
the HTTP request/response exchange exchange)Implements io. Handle the request. |
| handler | back to summary |
|---|---|
| private final HttpHandler handler | |
| WRAPPER | back to summary |
|---|---|
| private static final ConduitWrapper<StreamSourceConduit> WRAPPER | |
| HttpContinueReadHandler | back to summary |
|---|---|
| public HttpContinueReadHandler(final HttpHandler handler) | |
| handleRequest | back to summary |
|---|---|
| public void handleRequest(final HttpServerExchange exchange) throws Exception Implements io. Doc from io. Handle the request.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final HttpServerExchange | |
| private HttpContinue. | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public void | awaitReadable(final long
the time to wait time, final TimeUnit the time unit timeUnit)Overrides org. Implements org. Block until this conduit becomes readable again, or until the timeout expires. |
| public void | awaitReadable()
Overrides org. Implements org. Block until this channel becomes readable again. |
| public int | read(final ByteBuffer
the buffer to fill with data from the conduit dst)Overrides org. Implements org. Read a sequence of bytes from this conduit to the given buffer. |
| public long | read(final ByteBuffer[]
the buffers to fill with data from the conduit dsts, final int the offset into the buffer array offs, final int the number of buffers to fill len)Overrides org. Implements org. Read a sequence of bytes from this conduit to the given buffers. |
| public long | transferTo(final long
the position within the file from which the transfer is to begin position, final long the number of bytes to be transferred count, final FileChannel the file to write to target)Overrides org. Implements org. Transfers bytes into the given file from this channel. |
| public long | transferTo(final long
the number of bytes to be transferred count, final ByteBuffer the buffer to copy through. throughBuffer, final StreamSinkChannel the destination to write to target)Overrides org. Implements org. Transfers bytes into the given channel target. |
| exchange | back to summary |
|---|---|
| private final HttpServerExchange exchange | |
| response | back to summary |
|---|---|
| private HttpContinue. | |
| sent | back to summary |
|---|---|
| private boolean sent | |
| ContinueConduit | back to summary |
|---|---|
| protected ContinueConduit(final StreamSourceConduit next, final HttpServerExchange exchange) | |
| awaitReadable | back to summary |
|---|---|
| public void awaitReadable(final long time, final TimeUnit timeUnit) throws IOException Overrides org. Implements org. Doc from org. Block until this conduit becomes readable again, or until the timeout expires. This method may return spuriously before the conduit becomes readable or the timeout expires.
| |
| awaitReadable | back to summary |
|---|---|
| public void awaitReadable() throws IOException Overrides org. Implements org. Doc from org. Block until this channel becomes readable again. This method may return spuriously before the channel becomes readable.
| |
| read | back to summary |
|---|---|
| public int read(final ByteBuffer dst) throws IOException Overrides org. Implements org. Doc from org. Read a sequence of bytes from this conduit to the given buffer.
| |
| read | back to summary |
|---|---|
| public long read(final ByteBuffer[] dsts, final int offs, final int len) throws IOException Overrides org. Implements org. Doc from org. Read a sequence of bytes from this conduit to the given buffers.
| |
| transferTo | back to summary |
|---|---|
| public long transferTo(final long position, final long count, final FileChannel target) throws IOException Overrides org. Implements org. Doc from org. Transfers bytes into the given file from this channel.
| |
| transferTo | back to summary |
|---|---|
| public long transferTo(final long count, final ByteBuffer throughBuffer, final StreamSinkChannel target) throws IOException Overrides org. Implements org. Doc from org. Transfers bytes into the given channel target. On entry,
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final HttpContinueReadHandler. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | beforeCommit(HttpServerExchange
The server exchange exchange)Implements io. Invoked before the first bytes of the response are sent to the client |
| public static HttpContinueReadHandler. | |
| public static HttpContinueReadHandler. |
| INSTANCE | back to summary |
|---|---|
| public static final HttpContinueReadHandler. | |
| ContinueResponseCommitListener | back to summary |
|---|---|
| private ContinueResponseCommitListener() | |
| beforeCommit | back to summary |
|---|---|
| public void beforeCommit(HttpServerExchange exchange) Implements io. Doc from io. Invoked before the first bytes of the response are sent to the client
| |
| valueOf | back to summary |
|---|---|
| public static HttpContinueReadHandler. | |
| values | back to summary |
|---|---|
| public static HttpContinueReadHandler. | |