| Modifier and Type | Field and Description |
|---|---|
| private final HttpServerExchange |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Implements io. Closes both the input and output streams |
| public InputStream | getInputStream()
Implements io. Returns the input stream that is in use for this exchange. |
| public OutputStream | getOutputStream()
Implements io. Returns the output stream that is in use for this exchange. |
| public Receiver | getReceiver()
Implements io. returns a receiver based on the provided input stream. |
| public Sender | getSender()
Implements io. Returns a sender based on the provided output stream |
| exchange | back to summary |
|---|---|
| private final HttpServerExchange exchange | |
| ServletBlockingHttpExchange | back to summary |
|---|---|
| public ServletBlockingHttpExchange(final HttpServerExchange exchange) | |
| close | back to summary |
|---|---|
| public void close() throws IOException Implements io. Doc from io. Closes both the input and output streams
| |
| getInputStream | back to summary |
|---|---|
| public InputStream getInputStream() Implements io. Doc from io. Returns the input stream that is in use for this exchange.
| |
| getOutputStream | back to summary |
|---|---|
| public OutputStream getOutputStream() Implements io. Doc from io. Returns the output stream that is in use for this exchange. In some circumstances this may not be available, such as if a writer is being used for a servlet response
| |
| getReceiver | back to summary |
|---|---|
| public Receiver getReceiver() Implements io. Doc from io. returns a receiver based on the provided input stream. | |
| getSender | back to summary |
|---|---|
| public Sender getSender() Implements io. Doc from io. Returns a sender based on the provided output stream | |