AdroitLogic UltraESB v1.7.0

org.adroitlogic.ultraesb.transport.http
Class HttpsNIOSender

java.lang.Object
  extended by org.adroitlogic.ultraesb.core.config.AbstractConfigurationElement
      extended by org.adroitlogic.ultraesb.transport.base.AbstractTransportSender
          extended by org.adroitlogic.ultraesb.transport.http.HttpNIOSender
              extended by org.adroitlogic.ultraesb.transport.http.HttpsNIOSender
All Implemented Interfaces:
ConfigurationElement, org.adroitlogic.ultraesb.transport.base.ManagementSupport, org.springframework.beans.factory.BeanNameAware, org.springframework.context.ApplicationContextAware

public class HttpsNIOSender
extends HttpNIOSender

HTTP transport sender


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.adroitlogic.ultraesb.api.ConfigurationElement
ConfigurationElement.State
 
Field Summary
 
Fields inherited from class org.adroitlogic.ultraesb.transport.base.AbstractTransportSender
metrics, originatingTransport, properties
 
Fields inherited from class org.adroitlogic.ultraesb.core.config.AbstractConfigurationElement
config, ctx, debugOn, derivedName, id, outdated, state
 
Constructor Summary
HttpsNIOSender(FileCache fileCache)
          Default constructor accepting the FileCache to use
 
Method Summary
 void setHostnameVerifier(java.lang.String hostnameVerifier)
          Select hostname verifier instance to use - default is "Default"
 void setIdentityKeyPassword(java.lang.String identityKeyPassword)
          Identity key password
 void setIdentityStorePassword(java.lang.String identityStorePassword)
          Identity keystore password
 void setIdentityStorePath(java.lang.String identityStorePath)
          Identity keystore path
 void setIdentityStoreType(java.lang.String identityStoreType)
          Identity keystore type
 void setNonProductionNoRemoteCertValidation(boolean nonProductionNoRemoteCertValidation)
          Turn off remote certificate validation - NOT for production use.
 void setTrustStorePassword(java.lang.String trustStorePassword)
          Trust keystore password
 void setTrustStorePath(java.lang.String trustStorePath)
          Trust keystore path
 void setTrustStoreType(java.lang.String trustStoreType)
          Trust keystore type
 
Methods inherited from class org.adroitlogic.ultraesb.transport.http.HttpNIOSender
setConnectionDebugHeaders, setContinueOnCheckedExceptions, setContinueOnRuntimeExceptions, setEnableConnectionDebug, setKeepalive, setKeepAliveSafetyThreshold, setProxyBypassList, setProxyHost, setProxyPort, setReplaceUserAgent, setUnzipResponseEntities, setZeroCopyEnabled, toDetailedViewExt
 
Methods inherited from class org.adroitlogic.ultraesb.transport.base.AbstractTransportSender
getAvgSizeReceived, getAvgSizeSent, getBytesReceived, getBytesSent, getDetails, getFaultsReceiving, getFaultsSending, getLastResetTime, getMaxSizeReceived, getMaxSizeSent, getMessagesReceived, getMessagesSent, getMetricsWindow, getMinSizeReceived, getMinSizeSent, getReceiveErrorCodeTable, getSendErrorCodeTable, getTimeoutsReceiving, getTimeoutsSending, pause, resetStatistics, resume, setProperties, stop, toBasicView, toDetailedView
 
Methods inherited from class org.adroitlogic.ultraesb.core.config.AbstractConfigurationElement
equals, getAppCtx, getDerivedName, getId, getState, hashCode, isDebugOn, isStarted, maintenanceShutdown, markAsOutdated, setApplicationContext, setBeanName, setConfig, setDebugOn, setDerivedName, setId, setState, start, throwIllegalStateException, undeploy
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.adroitlogic.ultraesb.transport.base.ManagementSupport
getAvgSizeReceived, getAvgSizeSent, getBytesReceived, getBytesSent, getFaultsReceiving, getFaultsSending, getLastResetTime, getMaxSizeReceived, getMaxSizeSent, getMessagesReceived, getMessagesSent, getMetricsWindow, getMinSizeReceived, getMinSizeSent, getReceiveErrorCodeTable, getSendErrorCodeTable, getTimeoutsReceiving, getTimeoutsSending, maintenanceShutdown, pause, resetStatistics, resume
 

Constructor Detail

HttpsNIOSender

public HttpsNIOSender(FileCache fileCache)
Default constructor accepting the FileCache to use

Parameters:
fileCache - the file cache to use
Method Detail

setIdentityStorePath

public void setIdentityStorePath(java.lang.String identityStorePath)
Identity keystore path

Parameters:
identityStorePath - identity keystore path

setIdentityStoreType

public void setIdentityStoreType(java.lang.String identityStoreType)
Identity keystore type

Parameters:
identityStoreType - identity keystore type

setIdentityStorePassword

public void setIdentityStorePassword(java.lang.String identityStorePassword)
Identity keystore password

Parameters:
identityStorePassword - identity keystore password

setIdentityKeyPassword

public void setIdentityKeyPassword(java.lang.String identityKeyPassword)
Identity key password

Parameters:
identityKeyPassword - identity key password

setTrustStorePath

public void setTrustStorePath(java.lang.String trustStorePath)
Trust keystore path

Parameters:
trustStorePath - Trust keystore path

setTrustStoreType

public void setTrustStoreType(java.lang.String trustStoreType)
Trust keystore type

Parameters:
trustStoreType - Trust keystore type

setTrustStorePassword

public void setTrustStorePassword(java.lang.String trustStorePassword)
Trust keystore password

Parameters:
trustStorePassword - Trust keystore password

setNonProductionNoRemoteCertValidation

public void setNonProductionNoRemoteCertValidation(boolean nonProductionNoRemoteCertValidation)
Turn off remote certificate validation - NOT for production use. This helps conduct testing with expired or self signed certificates etc

Parameters:
nonProductionNoRemoteCertValidation - true disables remote certificate validation

setHostnameVerifier

public void setHostnameVerifier(java.lang.String hostnameVerifier)
Select hostname verifier instance to use - default is "Default"

Parameters:
hostnameVerifier - "Default" - The hostname must match either the first CN, or any of the subject-alts. A wildcard can occur in the CN, and in any of the subject-alts. "Strict" - works the same way as java.net.URL, IE6 etc. Compliant with 2818 for wildcards. The hostname must match either the first CN, or any of the subject-alts. A wildcard can occur in the CN, and in any of the subject-alts. "AllowAll" - disables hostname verification "DefaultAndLocalHost" - same as Default, but a host of "localhost", "localhost.localdomain", "127.0.0.1", "::1" will always pass, no matter what is in the server's certificate

Copyright (c) 2010-2012 AdroitLogic Private Ltd. All rights reserved.