T - Type of the original request object.public class JsonProtocolMarshallerBuilder<T> extends Object
ProtocolMarshaller for JSON based services.| Constructor and Description |
|---|
JsonProtocolMarshallerBuilder() |
public static <T> JsonProtocolMarshallerBuilder<T> standard()
public JsonProtocolMarshallerBuilder<T> jsonGenerator(StructuredJsonGenerator jsonGenerator)
public JsonProtocolMarshallerBuilder<T> contentType(String contentType)
public JsonProtocolMarshallerBuilder<T> operationInfo(OperationInfo operationInfo)
public JsonProtocolMarshallerBuilder<T> originalRequest(T originalRequest)
@Deprecated public JsonProtocolMarshallerBuilder<T> sendExplicitNullForPayload(boolean sendExplicitNullForPayload)
public JsonProtocolMarshallerBuilder<T> emptyBodyMarshaller(EmptyBodyJsonMarshaller emptyBodyMarshaller)
emptyBodyMarshaller - An empty body marshallerpublic <MarshallT> JsonProtocolMarshallerBuilder<T> marshallerOverride(MarshallLocation marshallLocation, MarshallingType<MarshallT> marshallingType, StructuredJsonMarshaller<MarshallT> marshaller)
MarshallT - Type of thing being marshalled.marshallLocation - Location to override marshaller for.marshallingType - Type to override marshaller for.marshaller - Marshaller to use for the given location and type.public ProtocolRequestMarshaller<T> build()