RequestType - ResponseType - StreamingRequestType - StreamingResponseType - public interface OperationModelContext<RequestType extends EventStreamJsonMessage,ResponseType extends EventStreamJsonMessage,StreamingRequestType extends EventStreamJsonMessage,StreamingResponseType extends EventStreamJsonMessage>
| Modifier and Type | Method and Description |
|---|---|
String |
getOperationName()
Returns the canonical operation name associated with this context across any client language.
|
String |
getRequestApplicationModelType()
Returns the application model type string for the initial-request object
|
Class<RequestType> |
getRequestTypeClass()
Returns the initial-request java class type
|
String |
getResponseApplicationModelType()
Returns the application model type string for the initial response object
|
Class<ResponseType> |
getResponseTypeClass()
Returns the initial-response java class type
|
EventStreamRPCServiceModel |
getServiceModel()
Returns the service model which can look up all/any Java error class types if an
operation throws it so the handling has a chance
|
Optional<String> |
getStreamingRequestApplicationModelType()
Returns the application model type of
|
Optional<Class<StreamingRequestType>> |
getStreamingRequestTypeClass()
Returns the streaming-request java class type
|
Optional<String> |
getStreamingResponseApplicationModelType()
Returns the streaming response application model string
|
Optional<Class<StreamingResponseType>> |
getStreamingResponseTypeClass()
Returns the streaming-response java class type
|
default boolean |
isStreamingOperation()
Returns true if there is a streaming request or response associated with the operation
or both
|
EventStreamRPCServiceModel getServiceModel()
String getOperationName()
Class<RequestType> getRequestTypeClass()
String getRequestApplicationModelType()
Class<ResponseType> getResponseTypeClass()
String getResponseApplicationModelType()
Optional<Class<StreamingRequestType>> getStreamingRequestTypeClass()
Optional<String> getStreamingRequestApplicationModelType()
Optional<Class<StreamingResponseType>> getStreamingResponseTypeClass()
Optional<String> getStreamingResponseApplicationModelType()
default boolean isStreamingOperation()
Copyright ? 2021. All rights reserved.