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 ByteWriter
ResponseEntity. sender
This is the sender object used to deliver to response data.private ByteWriter
BodyEncoderFactory. writer
This is the underlying sender used to deliver the raw data.private ByteWriter
ChunkedEncoder. writer
This is the underlying writer used to deliver the encoded data.private ByteWriter
CloseEncoder. writer
This is the underlying writer used to deliver the raw data.private ByteWriter
EmptyEncoder. writer
This is the writer that is passed to the monitor when ready.private ByteWriter
FixedLengthEncoder. writer
This 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 void
BodyObserver. close(ByteWriter writer)
This is used to close the underlying transport.void
ResponseObserver. close(ByteWriter writer)
This is used to close the underlying transport.void
BodyObserver. 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.void
ResponseObserver. 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.void
BodyObserver. error(ByteWriter writer)
This is used when there is an error sending the response.void
ResponseObserver. error(ByteWriter writer)
This is used when there is an error sending the response.private void
ResponseObserver. fail(ByteWriter writer)
This is used to purge the writer so that it closes the socket ensuring there is no connection leak on shutdown.void
BodyObserver. ready(ByteWriter writer)
This is used when the response has been sent correctly and the connection supports persisted HTTP.void
ResponseObserver. 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 theChunkedEncoder
object.CloseEncoder(BodyObserver observer, ByteWriter writer)
Constructor for theCloseEncoder
object.EmptyEncoder(BodyObserver observer, ByteWriter writer)
Constructor for theEmptyEncoder
object.FixedLengthEncoder(BodyObserver observer, ByteWriter writer, long limit)
Constructor for theFixedLengthEncoder
object. -
Uses of ByteWriter in org.simpleframework.http.message
Fields in org.simpleframework.http.message declared as ByteWriter Modifier and Type Field Description private ByteWriter
ContinueDispatcher. writer
This 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 ByteWriter
FrameConnection. writer
This is the sender used to send frames over the channel.private ByteWriter
OutputBarrier. writer
This is the underlying sender used to send the frames.private ByteWriter
ResponseBuilder. writer
This 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 class
TransportWriter
TheTransportWriter
object is used to write bytes to and underlying transport.Fields in org.simpleframework.transport declared as ByteWriter Modifier and Type Field Description private ByteWriter
TransportChannel. writer
This is used to provide a blocking means for sending data.Methods in org.simpleframework.transport that return ByteWriter Modifier and Type Method Description ByteWriter
Channel. getWriter()
This provides aByteWriter
for the channel.ByteWriter
TransportChannel. getWriter()
This provides aByteWriter
for the channel.
-