Package net.shibboleth.idp.cas.protocol
Class ProtocolContext<RequestType,ResponseType>
- java.lang.Object
-
- org.opensaml.messaging.context.BaseContext
-
- net.shibboleth.idp.cas.protocol.ProtocolContext<RequestType,ResponseType>
-
- Type Parameters:
RequestType- request typeResponseType- response type
- All Implemented Interfaces:
Iterable<BaseContext>
public final class ProtocolContext<RequestType,ResponseType> extends BaseContext
Context container for CAS protocol request and response messages.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opensaml.messaging.context.BaseContext
BaseContext.ContextSetNoRemoveIteratorDecorator
-
-
Field Summary
Fields Modifier and Type Field Description private RequestTyperequestCAS protocol request.private ResponseTyperesponseCAS protocol response.
-
Constructor Summary
Constructors Constructor Description ProtocolContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RequestTypegetRequest()Get the CAS protocol request.ResponseTypegetResponse()Get the CAS protocol response.voidsetRequest(RequestType req)Set the CAS protocol request.voidsetResponse(ResponseType resp)Set the CAS protocol request.-
Methods inherited from class org.opensaml.messaging.context.BaseContext
addSubcontext, addSubcontext, clearSubcontexts, containsSubcontext, createSubcontext, getParent, getSubcontext, getSubcontext, getSubcontext, getSubcontext, iterator, removeSubcontext, removeSubcontext, setParent
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Field Detail
-
request
private RequestType request
CAS protocol request.
-
response
private ResponseType response
CAS protocol response.
-
-
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.
-
-