java.lang.AutoCloseable
, java.io.Closeable
public interface BlockingHttpExchange
extends java.io.Closeable
Modifier and Type | Method | Description |
---|---|---|
void |
close() |
Closes both the input and output streams
|
java.io.InputStream |
getInputStream() |
Returns the input stream that is in use for this exchange.
|
java.io.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
|
java.io.InputStream getInputStream()
java.io.OutputStream getOutputStream()
Sender getSender()
void close() throws java.io.IOException
close
in interface java.lang.AutoCloseable
close
in interface java.io.Closeable
java.io.IOException
Receiver getReceiver()
Copyright © 2018. All rights reserved.