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 booleanabortGracefully()voidactivate()voidclose()TimeoutgetSocketTimeout()voidrequestOutput()voidsetSocketTimeout(Timeout timeout)voidsubmit(OutgoingMessage messageHead, boolean endStream, FlushMode flushMode)voidsuspendOutput()-
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:
HttpExceptionjava.io.IOException
-
submit
void submit(OutgoingMessage messageHead, boolean endStream, FlushMode flushMode) throws HttpException, java.io.IOException
- Throws:
HttpExceptionjava.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)
-
-