final class DeleteDocumentProvider extends Object
Documents in REST services is very unlikely to be needed
and this provider contributes a significant amount of code to the native
image due to its dependency to Xerces and Xalan.
Let's remove it for now and see if people complain about it. If so, we will need a more advanced strategy to disable/enable it.
| Constructor and Description |
|---|
DeleteDocumentProvider(org.jboss.resteasy.spi.ResteasyConfiguration config) |
| Modifier and Type | Method and Description |
|---|---|
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) |
public DeleteDocumentProvider(@Context
org.jboss.resteasy.spi.ResteasyConfiguration config)
public boolean isReadable(Class<?> clazz, Type type, Annotation[] annotation, javax.ws.rs.core.MediaType mediaType)
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
IOExceptionjavax.ws.rs.WebApplicationExceptionpublic boolean isWriteable(Class<?> clazz, Type type, Annotation[] annotation, javax.ws.rs.core.MediaType mediaType)
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
IOExceptionjavax.ws.rs.WebApplicationExceptionCopyright © 2019 JBoss by Red Hat. All rights reserved.