public interface BlockingHttpExchange extends Closeable
Modifier and Type | Method and 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 AutoCloseable
close
in interface Closeable
IOException
Receiver getReceiver()
Copyright © 2017 JBoss by Red Hat. All rights reserved.