|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.excalibur.source.impl.HTTPClientSourceFactory
org.apache.excalibur.source.impl.HTTPSClientSourceFactory
public class HTTPSClientSourceFactory
HTTPClientSource
Factory class.
Field Summary | |
---|---|
static java.lang.String |
HTTPS
HTTPS constant. |
static java.lang.String |
SOCKET_FACTORY
SSL socket factory. |
static java.lang.String |
SSL_PROVIDER
SSL implementation provider. |
Fields inherited from interface org.apache.excalibur.source.SourceFactory |
---|
ROLE |
Constructor Summary | |
---|---|
HTTPSClientSourceFactory()
|
Method Summary | |
---|---|
private java.lang.Object |
getInstance(java.lang.String className)
Helper method to create a single instance from a class name. |
void |
parameterize(org.apache.avalon.framework.parameters.Parameters params)
Parameterize this SourceFactory . |
private void |
setProvider(org.apache.avalon.framework.parameters.Parameters params)
Method to set up the SSL provider for this factory instance. |
private void |
setSocketFactory(org.apache.avalon.framework.parameters.Parameters params)
Method to set up the SSL socket factory for this source factory instance. |
Methods inherited from class org.apache.excalibur.source.impl.HTTPClientSourceFactory |
---|
getSource, release |
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
---|
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String SSL_PROVIDER
public static final java.lang.String SOCKET_FACTORY
public static final java.lang.String HTTPS
Constructor Detail |
---|
public HTTPSClientSourceFactory()
Method Detail |
---|
public void parameterize(org.apache.avalon.framework.parameters.Parameters params) throws org.apache.avalon.framework.parameters.ParameterException
SourceFactory
.
parameterize
in interface org.apache.avalon.framework.parameters.Parameterizable
parameterize
in class HTTPClientSourceFactory
params
- Parameters
instance
org.apache.avalon.framework.parameters.ParameterException
- if an error occursprivate void setProvider(org.apache.avalon.framework.parameters.Parameters params) throws org.apache.avalon.framework.parameters.ParameterException
params
- configuration Parameters
org.apache.avalon.framework.parameters.ParameterException
- if an error occursprivate void setSocketFactory(org.apache.avalon.framework.parameters.Parameters params) throws org.apache.avalon.framework.parameters.ParameterException
params
- configuration Parameters
org.apache.avalon.framework.parameters.ParameterException
- if an error occursprivate java.lang.Object getInstance(java.lang.String className) throws org.apache.avalon.framework.parameters.ParameterException
className
- class name to instantiate
org.apache.avalon.framework.parameters.ParameterException
- if an error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |