Interface RequestContext<R extends RequestResponse>
- All Superinterfaces:
CommunicationContext,LogContext
- All Known Subinterfaces:
GenericRequestContext,PhoneCallRequestContext
-
Method Summary
Modifier and TypeMethodDescriptionif no response is present clearResponse is called automaticallybooleaninternal use onlyMethods inherited from interface org.nuclos.api.context.communication.CommunicationContext
getPortMethods inherited from interface org.nuclos.api.context.LogContext
log, logError, logWarn
-
Method Details
-
clearResponse
R clearResponse()- Returns:
- overrides old response with a new one
-
getResponse
R getResponse()if no response is present clearResponse is called automatically- Returns:
- the response
-
isResponse
boolean isResponse()internal use only- Returns:
- true, if a response object is created via
clearResponse()orgetResponse()before
-