Class ToStringParamEncoder
java.lang.Object
com.palantir.dialogue.annotations.ToStringParamEncoder
- All Implemented Interfaces:
ListParamEncoder<Object>, ParamEncoder<Object>
public final class ToStringParamEncoder
extends Object
implements ListParamEncoder<Object>, ParamEncoder<Object>
Simple Encoder implementation which always uses the
Object.toString() value.
This is not used by default because it should be a conscious decision to rely on
Object.toString() over the wire.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ToStringParamEncoder
public ToStringParamEncoder()
-
-
Method Details
-
toParamValues
- Specified by:
toParamValuesin interfaceListParamEncoder<Object>
-
toParamValue
- Specified by:
toParamValuein interfaceParamEncoder<Object>
-