Class JWEInput.ContentReader

  • Enclosing class:
    JWEInput

    public class JWEInput.ContentReader
    extends Object
    • Constructor Detail

      • ContentReader

        public ContentReader()
    • Method Detail

      • getRawContent

        public byte[] getRawContent()
      • readContent

        public <T> T readContent​(Class<T> type)
        Defaults to '*' if there is no cty header.
        Type Parameters:
        T - type
        Parameters:
        type - type class
        Returns:
        read entity of type T
      • readContent

        public <T> T readContent​(Class<T> type,
                                 Type genericType,
                                 Annotation[] annotations,
                                 javax.ws.rs.core.MediaType mediaType)