Class AbstractHttpClientResponseMessageDecoder
java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
org.opensaml.messaging.decoder.AbstractMessageDecoder
org.opensaml.messaging.decoder.httpclient.AbstractHttpClientResponseMessageDecoder
- All Implemented Interfaces:
Component,DestructableComponent,InitializableComponent,UnmodifiableComponent,HttpClientResponseMessageDecoder,MessageDecoder
- Direct Known Subclasses:
BaseHttpClientResponseXMLMessageDecoder
public abstract class AbstractHttpClientResponseMessageDecoder
extends AbstractMessageDecoder
implements HttpClientResponseMessageDecoder
Abstract implementation of
HttpClientResponseMessageDecoder.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.apache.hc.core5.http.ClassicHttpResponseThe HTTP client response.Fields inherited from class org.opensaml.messaging.decoder.AbstractMessageDecoder
BASE_PROTOCOL_MESSAGE_LOGGER_CATEGORY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidorg.apache.hc.core5.http.ClassicHttpResponseGet the HTTP client response on which to operate.voidsetHttpResponse(org.apache.hc.core5.http.ClassicHttpResponse clientResponse) Set the HTTP client response 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
-
response
The HTTP client response.
-
-
Constructor Details
-
AbstractHttpClientResponseMessageDecoder
public AbstractHttpClientResponseMessageDecoder()
-
-
Method Details
-
getHttpResponse
Get the HTTP client response on which to operate.- Specified by:
getHttpResponsein interfaceHttpClientResponseMessageDecoder- Returns:
- the HTTP client response
-
setHttpResponse
public void setHttpResponse(@Nullable org.apache.hc.core5.http.ClassicHttpResponse clientResponse) Set the HTTP client response on which to operate.- Specified by:
setHttpResponsein interfaceHttpClientResponseMessageDecoder- Parameters:
clientResponse- the HTTP client response
-
doInitialize
- Overrides:
doInitializein classAbstractInitializableComponent- Throws:
ComponentInitializationException
-