@Provider @Consumes(value="*/*") public class EnvelopedReader extends Object implements javax.ws.rs.ext.MessageBodyReader<EnvelopedInput>
Constructor and Description |
---|
EnvelopedReader() |
Modifier and Type | Method and Description |
---|---|
boolean |
isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
EnvelopedInput |
readFrom(Class<EnvelopedInput> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> headers,
InputStream entityStream) |
public boolean isReadable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isReadable
in interface javax.ws.rs.ext.MessageBodyReader<EnvelopedInput>
public EnvelopedInput readFrom(Class<EnvelopedInput> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,String> headers, InputStream entityStream) throws IOException, javax.ws.rs.WebApplicationException
readFrom
in interface javax.ws.rs.ext.MessageBodyReader<EnvelopedInput>
IOException
javax.ws.rs.WebApplicationException
Copyright © 2015 JBoss by Red Hat. All rights reserved.