Class AbstractMultipartRelatedWriter
java.lang.Object
org.jboss.resteasy.plugins.providers.multipart.AbstractMultipartWriter
org.jboss.resteasy.plugins.providers.multipart.AbstractMultipartRelatedWriter
- Direct Known Subclasses:
MultipartRelatedWriter
,XopWithMultipartRelatedWriter
Helper base class for multipart/related producing providers.
- Version:
- $Revision: 1 $
- Author:
- Attila Kiraly
-
Field Summary
Fields inherited from class org.jboss.resteasy.plugins.providers.multipart.AbstractMultipartWriter
COLON_SPACE_BYTES, DOUBLE_DASH_BYTES, LINE_SEPARATOR_BYTES, workers
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected CompletionStage<Void>
asyncWriteRelated
(MultipartRelatedOutput multipartRelatedOutput, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String, Object> httpHeaders, AsyncOutputStream entityStream, Annotation[] annotations) protected void
writeRelated
(MultipartRelatedOutput multipartRelatedOutput, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream, Annotation[] annotations) Methods inherited from class org.jboss.resteasy.plugins.providers.multipart.AbstractMultipartWriter
asyncWrite, asyncWrite, asyncWritePart, asyncWritePart, asyncWriteParts, asyncWriteParts, write, write, writePart, writePart, writeParts, writeParts
-
Constructor Details
-
AbstractMultipartRelatedWriter
public AbstractMultipartRelatedWriter()
-
-
Method Details
-
writeRelated
protected void writeRelated(MultipartRelatedOutput multipartRelatedOutput, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream, Annotation[] annotations) throws IOException, jakarta.ws.rs.WebApplicationException- Throws:
IOException
jakarta.ws.rs.WebApplicationException
-
asyncWriteRelated
protected CompletionStage<Void> asyncWriteRelated(MultipartRelatedOutput multipartRelatedOutput, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String, Object> httpHeaders, AsyncOutputStream entityStream, Annotation[] annotations)
-