Class ProtocolContext<RequestType,​ResponseType>

  • Type Parameters:
    RequestType - request type
    ResponseType - response type
    All Implemented Interfaces:
    Iterable<BaseContext>

    public final class ProtocolContext<RequestType,​ResponseType>
    extends BaseContext
    Context container for CAS protocol request and response messages.
    • Field Detail

      • request

        private RequestType request
        CAS protocol request.
      • response

        private ResponseType response
        CAS protocol response.
    • Constructor Detail

      • ProtocolContext

        public ProtocolContext()
    • Method Detail

      • getRequest

        public RequestType getRequest()
        Get the CAS protocol request.
        Returns:
        CAS protocol request
      • setRequest

        public void setRequest​(RequestType req)
        Set the CAS protocol request.
        Parameters:
        req - CAS protocol request.
      • getResponse

        public ResponseType getResponse()
        Get the CAS protocol response.
        Returns:
        CAS protocol response
      • setResponse

        public void setResponse​(ResponseType resp)
        Set the CAS protocol request.
        Parameters:
        resp - CAS protocol response.