public class HTTPMetadataProviderBeanDefinitionParser extends AbstractReloadingMetadataProviderBeanDefinitionParser
コンストラクタと説明 |
---|
HTTPMetadataProviderBeanDefinitionParser() |
修飾子とタイプ | メソッドと説明 |
---|---|
protected org.apache.commons.httpclient.HttpClient |
buildHttpClient(Element config,
String providerId,
URL metadataURL)
Builds the HTTP client used to fetch metadata.
|
protected X509TrustManager |
buildNoTrustTrustManager()
Builds a
X509TrustManager which bypasses all X.509 validation steps. |
protected void |
doParse(Element config,
org.springframework.beans.factory.xml.ParserContext parserContext,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder) |
protected Class |
getBeanClass(Element element) |
protected void |
setHttpBasicAuthSettings(org.apache.commons.httpclient.HttpClient httpClient,
Element config,
String providerId,
URL metadataURL)
Sets the basic authentication properties, if any, for the HTTP client used to fetch metadata.
|
protected void |
setHttpProxySettings(HttpClientBuilder builder,
Element config,
String providerId)
Sets the HTTP proxy properties, if any, for the HTTP client used to fetch metadata.
|
getMaxRefreshDelay, getMinRefreshDelay, getParserPoolRef, getRefreshDelayFactor, getTaskTimerRef
getFailFastInitialization
getProviderId, getRequireValidMetadata
doParse, getBeanClassName, getParentName, parseInternal
public static final QName TYPE_NAME
public HTTPMetadataProviderBeanDefinitionParser()
protected Class getBeanClass(Element element)
getBeanClass
クラス内 org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
protected void doParse(Element config, org.springframework.beans.factory.xml.ParserContext parserContext, org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
doParse
クラス内 AbstractReloadingMetadataProviderBeanDefinitionParser
protected org.apache.commons.httpclient.HttpClient buildHttpClient(Element config, String providerId, URL metadataURL)
config
- the metadata provider configuration elementproviderId
- the ID of the metadata providermetadataURL
- the URL from which metadata will be fetchedprotected X509TrustManager buildNoTrustTrustManager()
X509TrustManager
which bypasses all X.509 validation steps.protected void setHttpProxySettings(HttpClientBuilder builder, Element config, String providerId)
builder
- the HTTP client builderconfig
- the metadata provider configurationproviderId
- the ID of the metadata providerprotected void setHttpBasicAuthSettings(org.apache.commons.httpclient.HttpClient httpClient, Element config, String providerId, URL metadataURL)
httpClient
- the HTTP clientconfig
- the metadata provider configurationproviderId
- the ID of the metadata providermetadataURL
- the URL from which metadata will be fetchedCopyright © 2012. All Rights Reserved.