Uses of Interface
org.simpleframework.http.core.BodyEncoder
Packages that use BodyEncoder
-
Uses of BodyEncoder in org.simpleframework.http.core
Classes in org.simpleframework.http.core that implement BodyEncoderModifier and TypeClassDescription(package private) class
TheChunkedEncoder
object is used to encode data in the chunked encoding format.(package private) class
TheCloseEncoder
is used to close a connection once all of the content has been produced.(package private) class
TheEmptyEncoder
object is a producer used if there is not response body to be delivered.(package private) class
TheFixedLengthEncoder
object produces content without any encoding, but limited to a fixed number of bytes.Fields in org.simpleframework.http.core declared as BodyEncoderModifier and TypeFieldDescriptionprivate BodyEncoder
ResponseEncoder.encoder
Once the header is committed this is used to produce data.Methods in org.simpleframework.http.core that return BodyEncoderModifier and TypeMethodDescriptionBodyEncoderFactory.getInstance()
This is used to create an aBodyEncoder
object that can be used to encode content according to the HTTP header.private BodyEncoder
BodyEncoderFactory.getInstance
(boolean chunkable) This is used to create an aBodyEncoder
object that can be used to encode content according to the HTTP header.