Class OperationResponse<ResponseType extends EventStreamJsonMessage,​StreamRequestType extends EventStreamJsonMessage>

  • Type Parameters:
    ResponseType - The response type
    StreamRequestType - The stream response type
    All Implemented Interfaces:
    AutoCloseable, StreamEventPublisher<StreamRequestType>, StreamResponse<ResponseType,​StreamRequestType>

    public class OperationResponse<ResponseType extends EventStreamJsonMessage,​StreamRequestType extends EventStreamJsonMessage>
    extends Object
    implements StreamResponse<ResponseType,​StreamRequestType>, AutoCloseable
    Underlying type for operation response handling. Enables publishing on stream operations from client, closing of any open stream, and retrieval of response. Specific generated operation response handlers are usually simple wrappers with the generic types specified