Class ByteArrayProvider

java.lang.Object
org.glassfish.jersey.message.internal.AbstractMessageReaderWriterProvider<byte[]>
org.glassfish.jersey.message.internal.ByteArrayProvider
All Implemented Interfaces:
MessageBodyReader<byte[]>, MessageBodyWriter<byte[]>

@Produces({"application/octet-stream","*/*"}) @Consumes({"application/octet-stream","*/*"}) public final class ByteArrayProvider extends AbstractMessageReaderWriterProvider<byte[]>
Default Jersey byte array entity provider (reader and writer).
Author:
Paul Sandoz, Marek Potociar