Package com.github.elopteryx.upload.rs
The top level of the package hierarchy which contains
classes related to using the core library in a
Jax-Rs environment.
This library includes a lightweight integration of the core package with the Jax-Rs environment. It has a message body reader to inject upload related parameters into the controller methods. The library uses different interfaces than those found in the core library, because the Jax-Rs specification does not support async processing for the message body worker classes, therefore several methods and classes would not work here.
The library also includes annotations to help injecting part items into the controller methods and also to allow defining size constraints.
-
Interface Summary Interface Description MultiPart This interface represents a multipart request.Part This interface represents a part item received in a multipart message that has already been processed and written into an output object. -
Class Summary Class Description UploadReader This class is a message body reader for multipart requests. -
Annotation Types Summary Annotation Type Description UploadConfig Annotation which can be put on theMultiPartparameter, to control the size constraints.UploadParam Annotation type which can be used to set a part item as a parameter in the endpoint.