Middleware
,
see Serializer
.@Deprecated public class StringSerializer extends Object implements Serializer
Serializer.Payload
Constructor and Description |
---|
StringSerializer()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static okio.ByteString |
serialize(Object s)
Deprecated.
|
Serializer.Payload |
serialize(Request request,
Object t)
Deprecated.
Produce a
Serializer.Payload from the incoming request Request
and the endpoint returned object. |
public Serializer.Payload serialize(Request request, Object t)
Serializer
Serializer.Payload
from the incoming request Request
and the endpoint returned object.serialize
in interface Serializer
request
- The incoming Request
t
- The object that the endpoint handler returnedSerializer.Payload
instancepublic static okio.ByteString serialize(Object s)
Copyright © 2016. All rights reserved.