Class ProtocolContext<RequestType,​ResponseType>

java.lang.Object
org.opensaml.messaging.context.BaseContext
net.shibboleth.idp.cas.protocol.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 Details

    • request

      private RequestType request
      CAS protocol request.
    • response

      private ResponseType response
      CAS protocol response.
  • Constructor Details

    • ProtocolContext

      public ProtocolContext()
  • Method Details

    • 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.