Class FilePartBodyHandler
- java.lang.Object
-
- org.jboss.resteasy.reactive.common.providers.serialisers.FilePartBodyHandler
-
-
Constructor Summary
Constructors Constructor Description FilePartBodyHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doWrite(FilePart uploadFile, OutputStream out)
boolean
isWriteable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
void
writeTo(FilePart uploadFile, Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream)
-
-
-
Method Detail
-
isWriteable
public boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
- Specified by:
isWriteable
in interfacejavax.ws.rs.ext.MessageBodyWriter<FilePart>
-
writeTo
public void writeTo(FilePart uploadFile, Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream) throws IOException
- Specified by:
writeTo
in interfacejavax.ws.rs.ext.MessageBodyWriter<FilePart>
- Throws:
IOException
-
doWrite
protected void doWrite(FilePart uploadFile, OutputStream out) throws IOException
- Throws:
IOException
-
-