Param
- The type of the path parameter.public interface PathParamSerializer<Param>
When used in URLs, a path param serializer is used both for path segments as well as query string parameters. It is expected that the serializer will consume and return singleton sequences for path segments, but may return 0 to many values for query string parameters.
Modifier and Type | Method and Description |
---|---|
Param |
deserialize(org.pcollections.PSequence<String> parameters)
Deserialize the
parameters into a deserialized parameter. |
org.pcollections.PSequence<String> |
serialize(Param parameter)
Serialize the given
parameter into path parameters. |