Class AbstractHttpServletRequestMessageDecoder
java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
org.opensaml.messaging.decoder.AbstractMessageDecoder
org.opensaml.messaging.decoder.servlet.AbstractHttpServletRequestMessageDecoder
- All Implemented Interfaces:
Component,DestructableComponent,InitializableComponent,UnmodifiableComponent,MessageDecoder,HttpServletRequestMessageDecoder
- Direct Known Subclasses:
BaseHttpServletRequestXMLMessageDecoder
public abstract class AbstractHttpServletRequestMessageDecoder
extends AbstractMessageDecoder
implements HttpServletRequestMessageDecoder
Abstract implementation of
HttpServletRequestMessageDecoder.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate NonnullSupplier<HttpServletRequest>Current HTTP request, if available.Fields inherited from class org.opensaml.messaging.decoder.AbstractMessageDecoder
BASE_PROTOCOL_MESSAGE_LOGGER_CATEGORY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidGet the HTTP servlet request on which to operate.Get the supplier for HTTP request if available.voidsetHttpServletRequestSupplier(NonnullSupplier<HttpServletRequest> requestSupplier) Set the supplier for the HTTP servlet request on which to operate.Methods inherited from class org.opensaml.messaging.decoder.AbstractMessageDecoder
decode, doDecode, getMessageContext, getMessageToLog, getProtocolMessageLogger, getProtocolMessageLoggerSubCategory, logDecodedMessage, serializeMessageForLogging, setMessageContext, setProtocolMessageLoggerSubCategoryMethods inherited from class net.shibboleth.shared.component.AbstractInitializableComponent
checkComponentActive, checkSetterPreconditions, destroy, doDestroy, ifDestroyedThrowDestroyedComponentException, ifInitializedThrowUnmodifiabledComponentException, ifNotInitializedThrowUninitializedComponentException, initialize, isDestroyed, isInitializedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.shibboleth.shared.component.DestructableComponent
destroy, isDestroyedMethods inherited from interface net.shibboleth.shared.component.InitializableComponent
initialize, isInitializedMethods inherited from interface org.opensaml.messaging.decoder.MessageDecoder
decode, getMessageContext
-
Field Details
-
httpServletRequestSupplier
Current HTTP request, if available.
-
-
Constructor Details
-
AbstractHttpServletRequestMessageDecoder
public AbstractHttpServletRequestMessageDecoder()
-
-
Method Details
-
getHttpServletRequest
Get the HTTP servlet request on which to operate.- Specified by:
getHttpServletRequestin interfaceHttpServletRequestMessageDecoder- Returns:
- the HTTP servlet request
-
getHttpServletRequestSupplier
Get the supplier for HTTP request if available.- Returns:
- current HTTP request
-
doInitialize
- Overrides:
doInitializein classAbstractInitializableComponent- Throws:
ComponentInitializationException
-