Method Summary |
boolean |
isReadable(Class<?> clazz,
Type type,
Annotation[] annotation,
javax.ws.rs.core.MediaType mediaType)
|
boolean |
isWriteable(Class<?> clazz,
Type type,
Annotation[] annotation,
javax.ws.rs.core.MediaType mediaType)
|
Document |
readFrom(Class<Document> clazz,
Type type,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> headers,
InputStream input)
|
void |
writeTo(Document document,
Class<?> clazz,
Type type,
Annotation[] annotation,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,Object> headers,
OutputStream output)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DocumentProvider
public DocumentProvider(@Context
ResteasyConfiguration config)
isReadable
public boolean isReadable(Class<?> clazz,
Type type,
Annotation[] annotation,
javax.ws.rs.core.MediaType mediaType)
readFrom
public Document readFrom(Class<Document> clazz,
Type type,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> headers,
InputStream input)
throws IOException,
javax.ws.rs.WebApplicationException
- Throws:
IOException
javax.ws.rs.WebApplicationException
isWriteable
public boolean isWriteable(Class<?> clazz,
Type type,
Annotation[] annotation,
javax.ws.rs.core.MediaType mediaType)
writeTo
public void writeTo(Document document,
Class<?> clazz,
Type type,
Annotation[] annotation,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,Object> headers,
OutputStream output)
throws IOException,
javax.ws.rs.WebApplicationException
- Throws:
IOException
javax.ws.rs.WebApplicationException
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.