Class DeleteDocumentProvider
java.lang.Object
io.quarkus.resteasy.common.runtime.graal.DeleteDocumentProvider
Manipulating
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisReadable(Class<?> clazz, Type type, Annotation[] annotation, jakarta.ws.rs.core.MediaType mediaType) booleanisWriteable(Class<?> clazz, Type type, Annotation[] annotation, jakarta.ws.rs.core.MediaType mediaType) readFrom(Class<Document> clazz, Type type, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String, String> headers, InputStream input) voidwriteTo(Document document, Class<?> clazz, Type type, Annotation[] annotation, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String, Object> headers, OutputStream output)
-
Constructor Details
-
DeleteDocumentProvider
public DeleteDocumentProvider(@Context org.jboss.resteasy.spi.ResteasyConfiguration config)
-
-
Method Details
-
isReadable
public boolean isReadable(Class<?> clazz, Type type, Annotation[] annotation, jakarta.ws.rs.core.MediaType mediaType) -
readFrom
public Document readFrom(Class<Document> clazz, Type type, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String, String> headers, InputStream input) throws IOException, jakarta.ws.rs.WebApplicationException- Throws:
IOExceptionjakarta.ws.rs.WebApplicationException
-
isWriteable
public boolean isWriteable(Class<?> clazz, Type type, Annotation[] annotation, jakarta.ws.rs.core.MediaType mediaType) -
writeTo
public void writeTo(Document document, Class<?> clazz, Type type, Annotation[] annotation, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String, Object> headers, OutputStream output) throws IOException, jakarta.ws.rs.WebApplicationException- Throws:
IOExceptionjakarta.ws.rs.WebApplicationException
-