MessageType
- the message type of the message context on which to operatepublic abstract class AbstractHttpClientResponseMessageDecoder<MessageType> extends AbstractMessageDecoder<MessageType> implements HttpClientResponseMessageDecoder<MessageType>
HttpClientResponseMessageDecoder
.Modifier and Type | Field and Description |
---|---|
private org.apache.http.HttpResponse |
response
The HTTP client response.
|
Constructor and Description |
---|
AbstractHttpClientResponseMessageDecoder() |
Modifier and Type | Method and Description |
---|---|
void |
decode()
Decode message data from the source and store it so that it may be retrieved via
MessageDecoder.getMessageContext() . |
protected void |
doDestroy() |
protected void |
doInitialize() |
org.apache.http.HttpResponse |
getHttpResponse()
Get the HTTP client response on which to operate.
|
void |
setHttpResponse(org.apache.http.HttpResponse clientResponse)
Set the HTTP client response on which to operate.
|
doDecode, getMessageContext, setMessageContext
destroy, initialize, isDestroyed, isInitialized
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMessageContext
public AbstractHttpClientResponseMessageDecoder()
@Nullable public org.apache.http.HttpResponse getHttpResponse()
getHttpResponse
in interface HttpClientResponseMessageDecoder<MessageType>
public void setHttpResponse(@Nullable org.apache.http.HttpResponse clientResponse)
setHttpResponse
in interface HttpClientResponseMessageDecoder<MessageType>
clientResponse
- the HTTP client responsepublic void decode() throws MessageDecodingException
MessageDecoder.getMessageContext()
.decode
in interface MessageDecoder<MessageType>
decode
in class AbstractMessageDecoder<MessageType>
MessageDecodingException
- if there is a problem decoding the message contextprotected void doDestroy()
doDestroy
in class AbstractMessageDecoder<MessageType>
protected void doInitialize() throws net.shibboleth.utilities.java.support.component.ComponentInitializationException
doInitialize
in class net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
net.shibboleth.utilities.java.support.component.ComponentInitializationException
Copyright © 1999–2015. All rights reserved.