public class TrustAndKeystoreSpecImpl extends Object implements TrustAndKeystoreSpec, groovy.lang.GroovyObject
Constructor and Description |
---|
TrustAndKeystoreSpecImpl() |
Modifier and Type | Method and Description |
---|---|
void |
apply(HTTPBuilder builder,
int port)
Apply the settings
|
KeyStore |
createStore(Object keyStoreType,
Object keyStorePath,
Object keyStorePassword) |
org.apache.http.conn.ssl.SSLSocketFactory |
getFactory() |
KeyStore |
getKeyStore() |
String |
getKeyStorePassword() |
Object |
getKeyStorePath() |
String |
getKeyStoreType() |
groovy.lang.MetaClass |
getMetaClass() |
int |
getPort() |
Object |
getProperty(String property) |
KeyStore |
getTrustStore() |
String |
getTrustStorePassword() |
Object |
getTrustStorePath() |
String |
getTrustStoreType() |
org.apache.http.conn.ssl.X509HostnameVerifier |
getX509HostnameVerifier() |
Object |
invokeMethod(String method,
Object arguments) |
void |
setFactory(org.apache.http.conn.ssl.SSLSocketFactory value) |
void |
setKeyStore(KeyStore value) |
void |
setKeyStorePassword(String value) |
void |
setKeyStorePath(Object value) |
void |
setKeyStoreType(String value) |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setPort(int value) |
void |
setProperty(String property,
Object value) |
void |
setTrustStore(KeyStore value) |
void |
setTrustStorePassword(String value) |
void |
setTrustStorePath(Object value) |
void |
setTrustStoreType(String value) |
void |
setX509HostnameVerifier(org.apache.http.conn.ssl.X509HostnameVerifier value) |
public groovy.lang.MetaClass getMetaClass()
getMetaClass
in interface groovy.lang.GroovyObject
public void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass
in interface groovy.lang.GroovyObject
public Object invokeMethod(String method, Object arguments)
invokeMethod
in interface groovy.lang.GroovyObject
public Object getProperty(String property)
getProperty
in interface groovy.lang.GroovyObject
public void setProperty(String property, Object value)
setProperty
in interface groovy.lang.GroovyObject
public Object getKeyStorePath()
public void setKeyStorePath(Object value)
public String getKeyStorePassword()
public void setKeyStorePassword(String value)
public String getKeyStoreType()
public void setKeyStoreType(String value)
public KeyStore getKeyStore()
public void setKeyStore(KeyStore value)
public Object getTrustStorePath()
public void setTrustStorePath(Object value)
public String getTrustStorePassword()
public void setTrustStorePassword(String value)
public String getTrustStoreType()
public void setTrustStoreType(String value)
public KeyStore getTrustStore()
public void setTrustStore(KeyStore value)
public int getPort()
public void setPort(int value)
public org.apache.http.conn.ssl.SSLSocketFactory getFactory()
public void setFactory(org.apache.http.conn.ssl.SSLSocketFactory value)
public org.apache.http.conn.ssl.X509HostnameVerifier getX509HostnameVerifier()
public void setX509HostnameVerifier(org.apache.http.conn.ssl.X509HostnameVerifier value)
public void apply(HTTPBuilder builder, int port)
TrustAndKeystoreSpec
apply
in interface TrustAndKeystoreSpec
builder
- The http builderport
- The portCopyright © 2010–2022. All rights reserved.