| Package | Description |
|---|---|
| org.gcube.common.gxrest.response.entity |
Core data held by a response.
|
| Modifier and Type | Method and Description |
|---|---|
SerializableErrorEntity |
SerializableErrorEntityTextReader.readFrom(Class<SerializableErrorEntity> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders,
InputStream entityStream)
Read a type from the
InputStream. |
| Modifier and Type | Method and Description |
|---|---|
long |
SerializableErrorEntityTextWriter.getSize(SerializableErrorEntity errorEntity,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType)
Originally, the method has been called before
writeTo to ascertain the length in bytes of
the serialized form of t. |
void |
SerializableErrorEntityTextWriter.writeTo(SerializableErrorEntity errorEntity,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders,
OutputStream out)
Write a type to an HTTP message.
|
| Modifier and Type | Method and Description |
|---|---|
SerializableErrorEntity |
SerializableErrorEntityTextReader.readFrom(Class<SerializableErrorEntity> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders,
InputStream entityStream)
Read a type from the
InputStream. |
| Constructor and Description |
|---|
CodeEntity(SerializableErrorEntity entity) |
Copyright © 2019. All Rights Reserved.