Class TTextProtocolFactory
java.lang.Object
com.linecorp.armeria.common.thrift.text.TTextProtocolFactory
- All Implemented Interfaces:
Serializable,TProtocolFactory
The
TProtocolFactory that creates a TTextProtocol.- See Also:
- Serialized Form
-
Method Summary
Modifier and TypeMethodDescriptionstatic TTextProtocolFactoryget()Returns the singletonTTextProtocolFactoryinstance.static TTextProtocolFactoryget(boolean useNamedEnums)Returns the singletonTTextProtocolFactoryinstance, with optional serialization of named enums.getProtocol(TTransport trans)toString()booleanReturns whether the serialization of named enums is enabled.
-
Method Details
-
get
Returns the singletonTTextProtocolFactoryinstance. -
get
Returns the singletonTTextProtocolFactoryinstance, with optional serialization of named enums. -
usesNamedEnums
public boolean usesNamedEnums()Returns whether the serialization of named enums is enabled. -
getProtocol
- Specified by:
getProtocolin interfaceTProtocolFactory
-
toString
-