- java.lang.Object
-
- io.netty5.handler.codec.http.DefaultHttpObject
-
- All Implemented Interfaces:
DecoderResultProvider
,HttpObject
- Direct Known Subclasses:
DefaultHttpContent
,DefaultHttpMessage
,DefaultLastHttpContent
public class DefaultHttpObject extends Object implements HttpObject
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
DefaultHttpObject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DecoderResult
decoderResult()
Returns the result of decoding this object.boolean
equals(Object o)
int
hashCode()
void
setDecoderResult(DecoderResult decoderResult)
Updates the result of decoding this object.
-
-
-
Method Detail
-
decoderResult
public DecoderResult decoderResult()
Description copied from interface:DecoderResultProvider
Returns the result of decoding this object.- Specified by:
decoderResult
in interfaceDecoderResultProvider
-
setDecoderResult
public void setDecoderResult(DecoderResult decoderResult)
Description copied from interface:DecoderResultProvider
Updates the result of decoding this object. This method is supposed to be invoked by a decoder. Do not call this method unless you know what you are doing.- Specified by:
setDecoderResult
in interfaceDecoderResultProvider
-
-