public class MessageBodyParameterMarshaller extends java.lang.Object implements Marshaller
Modifier and Type | Field and Description |
---|---|
private java.lang.annotation.Annotation[] |
annotations |
private java.lang.reflect.Type |
genericType |
private javax.ws.rs.core.MediaType |
mediaType |
private java.lang.Class |
type |
Constructor and Description |
---|
MessageBodyParameterMarshaller(javax.ws.rs.core.MediaType mediaType,
java.lang.Class type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations) |
Modifier and Type | Method and Description |
---|---|
void |
build(ClientRequest request,
java.lang.Object object) |
javax.ws.rs.core.MediaType |
getMediaType() |
java.lang.Class |
getType() |
private java.lang.Class type
private javax.ws.rs.core.MediaType mediaType
private java.lang.reflect.Type genericType
private java.lang.annotation.Annotation[] annotations
public MessageBodyParameterMarshaller(javax.ws.rs.core.MediaType mediaType, java.lang.Class type, java.lang.reflect.Type genericType, java.lang.annotation.Annotation[] annotations)
public void build(ClientRequest request, java.lang.Object object)
build
in interface Marshaller
public java.lang.Class getType()
public javax.ws.rs.core.MediaType getMediaType()