public abstract class ProvidenceMessageBodyWriter<T extends PMessage<T,F>,F extends PField> extends Object implements javax.ws.rs.ext.MessageBodyWriter<T>
| Constructor and Description |
|---|
ProvidenceMessageBodyWriter(Serializer serializer) |
| Modifier and Type | Method and Description |
|---|---|
long |
getSize(T t,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
boolean |
isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
void |
writeTo(T entity,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
public ProvidenceMessageBodyWriter(Serializer serializer)
public boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
public long getSize(T t, Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
public void writeTo(T entity, Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream) throws IOException, javax.ws.rs.WebApplicationException
writeTo in interface javax.ws.rs.ext.MessageBodyWriter<T extends PMessage<T,F>>IOExceptionjavax.ws.rs.WebApplicationExceptionCopyright © 2015–2016 morimekta.net. All rights reserved.