Class HttpClientUserAgentFactoryBean
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<String>
net.shibboleth.shared.spring.httpclient.factory.HttpClientUserAgentFactoryBean
- All Implemented Interfaces:
Aware,BeanClassLoaderAware,BeanFactoryAware,DisposableBean,FactoryBean<String>,InitializingBean
A factory bean that auto-wires a set of User-Agent substrings into a final result.
-
Field Summary
FieldsFields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
loggerFields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
ConstructorsConstructorDescriptionConstructor. -
Method Summary
Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, destroy, destroyInstance, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
-
Field Details
-
userAgentString
The constructed string.
-
-
Constructor Details
-
HttpClientUserAgentFactoryBean
@Autowired public HttpClientUserAgentFactoryBean(@Nullable List<HttpClientUserAgentComponent> components) Constructor.- Parameters:
components- auto-wired instamces of Strings to combine
-
-
Method Details
-
getObjectType
- Specified by:
getObjectTypein interfaceFactoryBean<String>- Specified by:
getObjectTypein classAbstractFactoryBean<String>
-
createInstance
- Specified by:
createInstancein classAbstractFactoryBean<String>- Throws:
Exception
-