public interface WireSerialization
| Modifier and Type | Method and Description |
|---|---|
default <T> T |
deserialize(byte[] data,
int length,
String accept,
Class<T> manifest) |
default <T> T |
deserialize(byte[] data,
int length,
String accept,
Class<T> container,
Type argument,
Type... arguments) |
default <T> T |
deserialize(byte[] data,
String accept,
Class<T> manifest) |
default <T> T |
deserialize(byte[] data,
String accept,
Class<T> container,
Type argument,
Type... arguments) |
default <T> T |
deserialize(Bytes data,
String accept,
Class<T> manifest) |
default <T> T |
deserialize(Bytes data,
String accept,
Class<T> container,
Type argument,
Type... arguments) |
default <T> T |
deserialize(InputStream stream,
String accept,
Class<T> manifest) |
default <T> T |
deserialize(InputStream stream,
String accept,
Class<T> container,
Type argument,
Type... arguments) |
Object |
deserialize(Type type,
Bytes data,
String accept) |
Object |
deserialize(Type type,
InputStream stream,
String accept) |
<TFormat> Optional<Serialization<TFormat>> |
find(Class<TFormat> format) |
void |
serialize(Object value,
OutputStream stream,
String contentType) |
Bytes |
serialize(Object value,
String contentType) |
void serialize(Object value, OutputStream stream, String contentType) throws IOException
IOExceptionObject deserialize(Type type, Bytes data, String accept) throws IOException
IOExceptionObject deserialize(Type type, InputStream stream, String accept) throws IOException
IOExceptiondefault <T> T deserialize(Bytes data, String accept, Class<T> manifest) throws IOException
IOExceptiondefault <T> T deserialize(Bytes data, String accept, Class<T> container, Type argument, Type... arguments) throws IOException
IOExceptiondefault <T> T deserialize(byte[] data,
String accept,
Class<T> manifest)
throws IOException
IOExceptiondefault <T> T deserialize(byte[] data,
String accept,
Class<T> container,
Type argument,
Type... arguments)
throws IOException
IOExceptiondefault <T> T deserialize(byte[] data,
int length,
String accept,
Class<T> manifest)
throws IOException
IOExceptiondefault <T> T deserialize(byte[] data,
int length,
String accept,
Class<T> container,
Type argument,
Type... arguments)
throws IOException
IOExceptiondefault <T> T deserialize(InputStream stream, String accept, Class<T> manifest) throws IOException
IOExceptiondefault <T> T deserialize(InputStream stream, String accept, Class<T> container, Type argument, Type... arguments) throws IOException
IOException<TFormat> Optional<Serialization<TFormat>> find(Class<TFormat> format)
Copyright © 2015. All rights reserved.