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