AutoCloseable, Closeablepublic interface BlockingHttpExchange extends Closeable
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
Closes both the input and output streams
|
InputStream |
getInputStream() |
Returns the input stream that is in use for this exchange.
|
OutputStream |
getOutputStream() |
Returns the output stream that is in use for this exchange.
|
Receiver |
getReceiver() |
returns a receiver based on the provided input stream.
|
Sender |
getSender() |
Returns a sender based on the provided output stream
|
InputStream getInputStream()
OutputStream getOutputStream()
Sender getSender()
void close()
throws IOException
close in interface AutoCloseableclose in interface CloseableIOExceptionReceiver getReceiver()
Copyright © 2018. All rights reserved.