Class ElytronMessageInfo
- java.lang.Object
-
- org.wildfly.security.auth.jaspi.impl.ElytronMessageInfo
-
- All Implemented Interfaces:
MessageInfo
- Direct Known Subclasses:
ServletMessageInfo
public class ElytronMessageInfo extends Object implements MessageInfo
An implementation of theMessageInfointerface.- Author:
- Darran Lofthouse
- See Also:
MessageInfo
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classElytronMessageInfo.State
-
Constructor Summary
Constructors Constructor Description ElytronMessageInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MapgetMap()Get (a reference to) the Map object of this MessageInfo.ObjectgetRequestMessage()Get the request message object from this MessageInfo.ObjectgetResponseMessage()Get the response message object from this MessageInfo.protected ElytronMessageInfo.StategetState()Get the current state for how thisMessageInfois being used.voidsetRequestMessage(Object requestMessage)Set the request message object in this MessageInfo.voidsetResponseMessage(Object responseMessage)Set the response message object in this MessageInfo.
-
-
-
Method Detail
-
getMap
public Map getMap()
Description copied from interface:MessageInfoGet (a reference to) the Map object of this MessageInfo. Operations performed on the acquired Map must effect the Map within the MessageInfo.- Specified by:
getMapin interfaceMessageInfo- Returns:
- the Map object of this MessageInfo. This method never returns null. If a Map has not been associated with the MessageInfo, this method instantiates a Map, associates it with this MessageInfo, and then returns it.
- See Also:
MessageInfo.getMap()
-
getRequestMessage
public Object getRequestMessage()
Description copied from interface:MessageInfoGet the request message object from this MessageInfo.- Specified by:
getRequestMessagein interfaceMessageInfo- Returns:
- An object representing the request message, or null if no request message is set within the MessageInfo.
- See Also:
MessageInfo.getRequestMessage()
-
getResponseMessage
public Object getResponseMessage()
Description copied from interface:MessageInfoGet the response message object from this MessageInfo.- Specified by:
getResponseMessagein interfaceMessageInfo- Returns:
- an object representing the response message, or null if no response message is set within the MessageInfo.
- See Also:
MessageInfo.getResponseMessage()
-
setRequestMessage
public void setRequestMessage(Object requestMessage)
Description copied from interface:MessageInfoSet the request message object in this MessageInfo.- Specified by:
setRequestMessagein interfaceMessageInfo- Parameters:
requestMessage- An object representing the request message.- See Also:
MessageInfo.setRequestMessage(java.lang.Object)
-
setResponseMessage
public void setResponseMessage(Object responseMessage)
Description copied from interface:MessageInfoSet the response message object in this MessageInfo.- Specified by:
setResponseMessagein interfaceMessageInfo- Parameters:
responseMessage- An object representing the response message.- See Also:
MessageInfo.setResponseMessage(java.lang.Object)
-
getState
protected ElytronMessageInfo.State getState()
Get the current state for how thisMessageInfois being used.- Returns:
- the current processing state for this
MessageInfo.
-
-