OrigRequestT - Type of the original request object.ProtocolMarshallerJsonProtocolMarshaller, NullAsEmptyBodyProtocolRequestMarshallerpublic interface ProtocolRequestMarshaller<OrigRequestT> extends ProtocolMarshaller
Request object which represents an HTTP request.
Example Usage:
ProtocolRequestMarshaller<FooRequest> = createProtocolMarshaller(...);
protocolMarshaller.startMarshalling();
protocolMarshaller.marshall(obj, marshallingInfo);
Request<FooRequest> marshalledRequest = protocolMarshaller.finishMarshalling();
| Modifier and Type | Method | Description |
|---|---|---|
Request<OrigRequestT> |
finishMarshalling() |
Finializes the marshalling and produces a
Request object that can be sent for execution. |
void |
startMarshalling() |
Hook to perform an initialization that needs to happen at the start of marshalling.
|
marshallvoid startMarshalling()
ProtocolMarshaller.marshall(Object, MarshallingInfo).Request<OrigRequestT> finishMarshalling()
Request object that can be sent for execution. Must be the last
method called in the marshaller.Request object.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.