Uses of Interface
org.simpleframework.transport.ByteWriter
-
Packages that use ByteWriter Package Description org.simpleframework.http.core org.simpleframework.http.message org.simpleframework.http.socket.service org.simpleframework.transport -
-
Uses of ByteWriter in org.simpleframework.http.core
Fields in org.simpleframework.http.core declared as ByteWriter Modifier and Type Field Description private ByteWriterResponseEntity. senderThis is the sender object used to deliver to response data.private ByteWriterBodyEncoderFactory. writerThis is the underlying sender used to deliver the raw data.private ByteWriterChunkedEncoder. writerThis is the underlying writer used to deliver the encoded data.private ByteWriterCloseEncoder. writerThis is the underlying writer used to deliver the raw data.private ByteWriterEmptyEncoder. writerThis is the writer that is passed to the monitor when ready.private ByteWriterFixedLengthEncoder. writerThis is the underlying writer used to deliver the raw data.Methods in org.simpleframework.http.core with parameters of type ByteWriter Modifier and Type Method Description voidBodyObserver. close(ByteWriter writer)This is used to close the underlying transport.voidResponseObserver. close(ByteWriter writer)This is used to close the underlying transport.voidBodyObserver. commit(ByteWriter writer)This is used to notify the monitor that the HTTP response is committed and that the header can no longer be changed.voidResponseObserver. commit(ByteWriter writer)This is used to notify the observer that the HTTP response is committed and that the header can no longer be changed.voidBodyObserver. error(ByteWriter writer)This is used when there is an error sending the response.voidResponseObserver. error(ByteWriter writer)This is used when there is an error sending the response.private voidResponseObserver. fail(ByteWriter writer)This is used to purge the writer so that it closes the socket ensuring there is no connection leak on shutdown.voidBodyObserver. ready(ByteWriter writer)This is used when the response has been sent correctly and the connection supports persisted HTTP.voidResponseObserver. ready(ByteWriter writer)This is used when the response has been sent correctly and the connection supports persisted HTTP.Constructors in org.simpleframework.http.core with parameters of type ByteWriter Constructor Description ChunkedEncoder(BodyObserver observer, ByteWriter writer)Constructor for theChunkedEncoderobject.CloseEncoder(BodyObserver observer, ByteWriter writer)Constructor for theCloseEncoderobject.EmptyEncoder(BodyObserver observer, ByteWriter writer)Constructor for theEmptyEncoderobject.FixedLengthEncoder(BodyObserver observer, ByteWriter writer, long limit)Constructor for theFixedLengthEncoderobject. -
Uses of ByteWriter in org.simpleframework.http.message
Fields in org.simpleframework.http.message declared as ByteWriter Modifier and Type Field Description private ByteWriterContinueDispatcher. writerThis is the writer that is used to deliver the continue. -
Uses of ByteWriter in org.simpleframework.http.socket.service
Fields in org.simpleframework.http.socket.service declared as ByteWriter Modifier and Type Field Description private ByteWriterFrameConnection. writerThis is the sender used to send frames over the channel.private ByteWriterOutputBarrier. writerThis is the underlying sender used to send the frames.private ByteWriterResponseBuilder. writerThis is the sender used to send the WebSocket response. -
Uses of ByteWriter in org.simpleframework.transport
Classes in org.simpleframework.transport that implement ByteWriter Modifier and Type Class Description classTransportWriterTheTransportWriterobject is used to write bytes to and underlying transport.Fields in org.simpleframework.transport declared as ByteWriter Modifier and Type Field Description private ByteWriterTransportChannel. writerThis is used to provide a blocking means for sending data.Methods in org.simpleframework.transport that return ByteWriter Modifier and Type Method Description ByteWriterChannel. getWriter()This provides aByteWriterfor the channel.ByteWriterTransportChannel. getWriter()This provides aByteWriterfor the channel.
-