Package | Description |
---|---|
com.spotify.apollo | |
com.spotify.apollo.meta | |
com.spotify.apollo.serialization |
Modifier and Type | Method and Description |
---|---|
static Serializer.Payload |
Payloads.create(okio.ByteString byteString)
Deprecated.
Create a
Serializer.Payload from ByteString without contentType |
static Serializer.Payload |
Payloads.create(okio.ByteString byteString,
Optional<String> contentType)
Deprecated.
Create a
Serializer.Payload from ByteString with an
optional contentType |
static Serializer.Payload |
Payloads.create(okio.ByteString byteString,
String contentType)
Deprecated.
Create a
Serializer.Payload from ByteString with the
specified contentType |
Serializer.Payload |
Serializer.serialize(Request request,
Object t)
Deprecated.
Produce a
Serializer.Payload from the incoming request Request
and the endpoint returned object. |
Serializer.Payload |
Serializer.Payload.withContentTypeIfAbsent(String contentType)
Create a new
Serializer.Payload based on the content of this instance
but with the given contentType if no contentType is present already. |
Modifier and Type | Method and Description |
---|---|
Serializer.Payload |
JsonMetaSerializer.serialize(Request message,
Object o) |
Modifier and Type | Method and Description |
---|---|
Serializer.Payload |
StringSerializer.serialize(Request request,
Object t)
Deprecated.
|
Serializer.Payload |
RawSerializer.serialize(Request request,
Object t)
Deprecated.
|
Serializer.Payload |
JsonSerializer.serialize(Request request,
Object t)
Deprecated.
|
Serializer.Payload |
AutoSerializer.serialize(Request message,
Object o)
Deprecated.
|
Copyright © 2016. All rights reserved.