public class AbstractDynamicHTTPMetadataResolver.BasicMetadataResponseHandler extends Object implements org.apache.http.client.ResponseHandler<XMLObject>
Constructor and Description |
---|
BasicMetadataResponseHandler() |
Modifier and Type | Method and Description |
---|---|
XMLObject |
handleResponse(org.apache.http.HttpResponse response) |
protected void |
validateHttpResponse(org.apache.http.HttpResponse response)
Validate the received HTTP response instance, such as checking for supported content types.
|
public XMLObject handleResponse(@Nonnull org.apache.http.HttpResponse response) throws IOException
handleResponse
in interface org.apache.http.client.ResponseHandler<XMLObject>
IOException
protected void validateHttpResponse(@Nonnull org.apache.http.HttpResponse response) throws net.shibboleth.utilities.java.support.resolver.ResolverException
response
- the received responsenet.shibboleth.utilities.java.support.resolver.ResolverException
- if the response was not valid, or if there is a fatal error validating the responseCopyright © 2019. All rights reserved.