Package org.jboss.resteasy.jose.jwe

## Class JWEInput.ContentReader

- java.lang.Object
- - org.jboss.resteasy.jose.jwe.JWEInput.ContentReader

- Enclosing class:
    JWEInput

      public class JWEInput.ContentReader
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ContentReader()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `byte[]` | `getRawContent()` |
    `<T> T` | `readContent​(Class<T> type)` | Defaults to '*' if there is no cty header.
    `<T> T` | `readContent​(Class<T> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 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)