Class EnvelopedReader
java.lang.Object
org.jboss.resteasy.security.smime.EnvelopedReader
- All Implemented Interfaces:
jakarta.ws.rs.ext.MessageBodyReader<EnvelopedInput>
@Provider
@Consumes("*/*")
public class EnvelopedReader
extends Object
implements jakarta.ws.rs.ext.MessageBodyReader<EnvelopedInput>
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isReadable
(Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType) readFrom
(Class<EnvelopedInput> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String, String> headers, InputStream entityStream)
-
Constructor Details
-
EnvelopedReader
public EnvelopedReader()
-
-
Method Details
-
isReadable
public boolean isReadable(Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType) - Specified by:
isReadable
in interfacejakarta.ws.rs.ext.MessageBodyReader<EnvelopedInput>
-
readFrom
public EnvelopedInput readFrom(Class<EnvelopedInput> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String, String> headers, InputStream entityStream) throws IOException, jakarta.ws.rs.WebApplicationException- Specified by:
readFrom
in interfacejakarta.ws.rs.ext.MessageBodyReader<EnvelopedInput>
- Throws:
IOException
jakarta.ws.rs.WebApplicationException
-