Class FileProvider

All Implemented Interfaces:
MessageBodyReader<File>, MessageBodyWriter<File>

@Produces({"application/octet-stream","*/*"}) @Consumes({"application/octet-stream","*/*"}) @Singleton public final class FileProvider extends AbstractMessageReaderWriterProvider<File>
Provider for marshalling/un-marshalling of application/octet-stream entity type to/from a File instance.
Author:
Paul Sandoz, Marek Potociar