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