Package org.jboss.resteasy.jose.jwe
Class JWEInput.ContentReader
- java.lang.Object
-
- org.jboss.resteasy.jose.jwe.JWEInput.ContentReader
-
-
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)
-
-
-
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)
-
-