Constructor and Description |
---|
ContentReader() |
Modifier and Type | Method and 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) |
public byte[] getRawContent()
public <T> T readContent(Class<T> type)
T
- typetype
- type classpublic <T> T readContent(Class<T> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
Copyright © 2021 JBoss by Red Hat. All rights reserved.