Class AbstractMultipartWriter
java.lang.Object
org.jboss.resteasy.plugins.providers.multipart.AbstractMultipartWriter
- Direct Known Subclasses:
AbstractMultipartFormDataWriter
,AbstractMultipartRelatedWriter
,ListMultipartWriter
,MultipartWriter
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final byte[]
protected static final byte[]
protected static final byte[]
protected jakarta.ws.rs.ext.Providers
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected CompletionStage
<Void> asyncWrite
(MultipartOutput multipartOutput, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String, Object> httpHeaders, AsyncOutputStream entityStream) Deprecated.protected CompletionStage
<Void> asyncWrite
(MultipartOutput multipartOutput, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String, Object> httpHeaders, AsyncOutputStream entityStream, Annotation[] annotations) protected CompletionStage
<Void> asyncWritePart
(AsyncOutputStream entityStream, byte[] boundaryBytes, OutputPart part, jakarta.ws.rs.core.MultivaluedMap<String, Object> headers) protected CompletionStage
<Void> asyncWritePart
(AsyncOutputStream entityStream, byte[] boundaryBytes, OutputPart part, jakarta.ws.rs.core.MultivaluedMap<String, Object> headers, Annotation[] annotations) protected CompletionStage
<Void> asyncWriteParts
(MultipartOutput multipartOutput, AsyncOutputStream entityStream, byte[] boundaryBytes) protected CompletionStage
<Void> asyncWriteParts
(MultipartOutput multipartOutput, AsyncOutputStream entityStream, byte[] boundaryBytes, Annotation[] annotations) protected void
write
(MultipartOutput multipartOutput, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream) protected void
write
(MultipartOutput multipartOutput, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream, Annotation[] annotations) protected void
writePart
(OutputStream entityStream, byte[] boundaryBytes, OutputPart part, jakarta.ws.rs.core.MultivaluedMap<String, Object> headers) protected void
writePart
(OutputStream entityStream, byte[] boundaryBytes, OutputPart part, jakarta.ws.rs.core.MultivaluedMap<String, Object> headers, Annotation[] annotations) protected void
writeParts
(MultipartOutput multipartOutput, OutputStream entityStream, byte[] boundaryBytes) Deprecated.protected void
writeParts
(MultipartOutput multipartOutput, OutputStream entityStream, byte[] boundaryBytes, Annotation[] annotations)
-
Field Details
-
DOUBLE_DASH_BYTES
protected static final byte[] DOUBLE_DASH_BYTES -
LINE_SEPARATOR_BYTES
protected static final byte[] LINE_SEPARATOR_BYTES -
COLON_SPACE_BYTES
protected static final byte[] COLON_SPACE_BYTES -
workers
@Context protected jakarta.ws.rs.ext.Providers workers
-
-
Constructor Details
-
AbstractMultipartWriter
public AbstractMultipartWriter()
-
-
Method Details
-
write
@Deprecated protected void write(MultipartOutput multipartOutput, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream) throws IOException- Throws:
IOException
-
write
protected void write(MultipartOutput multipartOutput, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream, Annotation[] annotations) throws IOException- Throws:
IOException
-
writeParts
@Deprecated protected void writeParts(MultipartOutput multipartOutput, OutputStream entityStream, byte[] boundaryBytes) throws IOException Deprecated.- Throws:
IOException
-
writeParts
protected void writeParts(MultipartOutput multipartOutput, OutputStream entityStream, byte[] boundaryBytes, Annotation[] annotations) throws IOException - Throws:
IOException
-
writePart
@Deprecated protected void writePart(OutputStream entityStream, byte[] boundaryBytes, OutputPart part, jakarta.ws.rs.core.MultivaluedMap<String, Object> headers) throws IOException- Throws:
IOException
-
writePart
protected void writePart(OutputStream entityStream, byte[] boundaryBytes, OutputPart part, jakarta.ws.rs.core.MultivaluedMap<String, Object> headers, Annotation[] annotations) throws IOException- Throws:
IOException
-
asyncWrite
@Deprecated protected CompletionStage<Void> asyncWrite(MultipartOutput multipartOutput, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String, Object> httpHeaders, AsyncOutputStream entityStream) -
asyncWrite
protected CompletionStage<Void> asyncWrite(MultipartOutput multipartOutput, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String, Object> httpHeaders, AsyncOutputStream entityStream, Annotation[] annotations) -
asyncWriteParts
@Deprecated protected CompletionStage<Void> asyncWriteParts(MultipartOutput multipartOutput, AsyncOutputStream entityStream, byte[] boundaryBytes) -
asyncWriteParts
protected CompletionStage<Void> asyncWriteParts(MultipartOutput multipartOutput, AsyncOutputStream entityStream, byte[] boundaryBytes, Annotation[] annotations) -
asyncWritePart
@Deprecated protected CompletionStage<Void> asyncWritePart(AsyncOutputStream entityStream, byte[] boundaryBytes, OutputPart part, jakarta.ws.rs.core.MultivaluedMap<String, Object> headers) -
asyncWritePart
protected CompletionStage<Void> asyncWritePart(AsyncOutputStream entityStream, byte[] boundaryBytes, OutputPart part, jakarta.ws.rs.core.MultivaluedMap<String, Object> headers, Annotation[] annotations)
-
asyncWrite(MultipartOutput, MediaType, MultivaluedMap, AsyncOutputStream, Annotation[])