Class DeleteDocumentProvider
- java.lang.Object
-
- io.quarkus.resteasy.common.runtime.graal.DeleteDocumentProvider
-
final class DeleteDocumentProvider extends Object
ManipulatingDocuments 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 Summary
Constructors Constructor Description DeleteDocumentProvider(org.jboss.resteasy.spi.ResteasyConfiguration config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisReadable(Class<?> clazz, Type type, Annotation[] annotation, javax.ws.rs.core.MediaType mediaType)booleanisWriteable(Class<?> clazz, Type type, Annotation[] annotation, javax.ws.rs.core.MediaType mediaType)DocumentreadFrom(Class<Document> clazz, Type type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,String> headers, InputStream input)voidwriteTo(Document document, Class<?> clazz, Type type, Annotation[] annotation, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,Object> headers, OutputStream output)
-
-
-
Method Detail
-
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:
IOExceptionjavax.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:
IOExceptionjavax.ws.rs.WebApplicationException
-
-