@Provider @Consumes(value="multipart/signed") public class MultipartSignedReader extends Object implements javax.ws.rs.ext.MessageBodyReader<SignedInput>
| Constructor and Description |
|---|
MultipartSignedReader() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
SignedInput |
readFrom(Class<SignedInput> 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<SignedInput>public SignedInput readFrom(Class<SignedInput> 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<SignedInput>IOExceptionjavax.ws.rs.WebApplicationExceptionCopyright © 2017 JBoss by Red Hat. All rights reserved.