| Modifier and Type | Field and Description |
|---|---|
private WadlDocumentToJson |
converter |
| Constructor and Description |
|---|
WadlDocumentMessageBodyWriter() |
| Modifier and Type | Method and Description |
|---|---|
long |
getSize(Document document,
Class<?> aClass,
Type type,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
boolean |
isWriteable(Class<?> aClass,
Type type,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
void |
writeTo(Document document,
Class<?> aClass,
Type type,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,Object> stringObjectMultivaluedMap,
OutputStream outputStream) |
private final WadlDocumentToJson converter
public boolean isWriteable(Class<?> aClass, Type type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isWriteable in interface javax.ws.rs.ext.MessageBodyWriter<Document>public long getSize(Document document, Class<?> aClass, Type type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
getSize in interface javax.ws.rs.ext.MessageBodyWriter<Document>public void writeTo(Document document, Class<?> aClass, Type type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,Object> stringObjectMultivaluedMap, OutputStream outputStream) throws IOException, javax.ws.rs.WebApplicationException
writeTo in interface javax.ws.rs.ext.MessageBodyWriter<Document>IOExceptionjavax.ws.rs.WebApplicationExceptionCopyright © 2014–2018 The Apache Software Foundation. All rights reserved.