Interface Http1StreamChannel<OutgoingMessage extends HttpMessage>
- All Superinterfaces:
ContentEncoder
- All Known Implementing Classes:
ServerHttp1StreamDuplexer.DelayedOutputChannel
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
activate()
void
close()
void
void
setSocketTimeout
(Timeout timeout) void
submit
(OutgoingMessage messageHead, boolean endStream, FlushMode flushMode) void
Methods inherited from interface org.apache.hc.core5.http.nio.ContentEncoder
complete, isCompleted, write
-
Method Details
-
close
void close() -
activate
- Throws:
HttpException
IOException
-
submit
void submit(OutgoingMessage messageHead, boolean endStream, FlushMode flushMode) throws HttpException, IOException - Throws:
HttpException
IOException
-
requestOutput
void requestOutput() -
suspendOutput
- Throws:
IOException
-
abortGracefully
- Throws:
IOException
-
getSocketTimeout
Timeout getSocketTimeout() -
setSocketTimeout
-