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