Class PlainTextCodec
java.lang.Object
org.apache.dubbo.remoting.http12.message.codec.PlainTextCodec
- All Implemented Interfaces:
CodecMediaType,HttpMessageCodec,HttpMessageDecoder,HttpMessageEncoder
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.dubbo.remoting.http12.message.CodecMediaType
supportsMethods inherited from interface org.apache.dubbo.remoting.http12.message.HttpMessageDecoder
decode, decode, decode, decode, decodeMethods inherited from interface org.apache.dubbo.remoting.http12.message.HttpMessageEncoder
contentType, encode, encode, encode
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
PlainTextCodec
-
-
Method Details
-
encode
- Specified by:
encodein interfaceHttpMessageEncoder- Throws:
EncodeException
-
decode
- Specified by:
decodein interfaceHttpMessageDecoder- Throws:
DecodeException
-
mediaType
- Specified by:
mediaTypein interfaceCodecMediaType
-