Class MultipartSignedReader

java.lang.Object
org.jboss.resteasy.security.smime.MultipartSignedReader
All Implemented Interfaces:
jakarta.ws.rs.ext.MessageBodyReader<SignedInput>

@Provider @Consumes("multipart/signed") public class MultipartSignedReader extends Object implements jakarta.ws.rs.ext.MessageBodyReader<SignedInput>
Version:
$Revision: 1 $
Author:
Bill Burke
  • Constructor Details

    • MultipartSignedReader

      public MultipartSignedReader()
  • Method Details

    • isReadable

      public boolean isReadable(Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)
      Specified by:
      isReadable in interface jakarta.ws.rs.ext.MessageBodyReader<SignedInput>
    • readFrom

      public SignedInput readFrom(Class<SignedInput> 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 interface jakarta.ws.rs.ext.MessageBodyReader<SignedInput>
      Throws:
      IOException
      jakarta.ws.rs.WebApplicationException