|
AdroitLogic UltraESB v1.7.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.adroitlogic.ultraesb.core.config.AbstractConfigurationElement
org.adroitlogic.ultraesb.transport.base.AbstractTransportSender
org.adroitlogic.ultraesb.transport.http.HttpNIOSender
public class HttpNIOSender
The 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 |
|---|
logger, metrics, originatingTransport, properties |
| Fields inherited from class org.adroitlogic.ultraesb.core.config.AbstractConfigurationElement |
|---|
config, ctx, debugOn, derivedName, id, outdated, state |
| Constructor Summary | |
|---|---|
HttpNIOSender(FileCache fileCache)
The default constructor, accepting the FileCache to use |
|
| Method Summary | |
|---|---|
void |
setConnectionDebugHeaders(java.util.Set connectionDebugHeaders)
Sets the list of HTTP headers to be dumped on a connection failure, when connection debugging is enabled |
void |
setContinueOnCheckedExceptions(boolean continueOnCheckedExceptions)
Control behavior of engine on checked exceptions |
void |
setContinueOnRuntimeExceptions(boolean continueOnRuntimeExceptions)
Control behavior of engine on runtime exceptions (WARNING: It maybe dangerous to ignore runtime exceptions) |
void |
setEnableConnectionDebug(boolean enableConnectionDebug)
Debug connection information on errors |
void |
setKeepalive(int keepalive)
Set the default keepalive time for connections kept for reuse. |
void |
setKeepAliveSafetyThreshold(int keepAliveSafetyThreshold)
Set the keep-alive safety threshold to not use a connection, when the keep-alive window is about to end |
void |
setProxyBypassList(java.lang.String[] proxyBypassList)
A list of addresses for which to bypass the proxy and go direct |
void |
setProxyHost(java.lang.String proxyHost)
HTTP proxy hostname |
void |
setProxyPort(int proxyPort)
HTTP proxy port |
void |
setReplaceUserAgent(boolean replaceUserAgent)
Replace the user agent header on requests sent to indicate UltraESB |
void |
setUnzipResponseEntities(boolean unzipResponseEntities)
Unzip compressed responses. |
void |
setZeroCopyEnabled(boolean zeroCopyEnabled)
Turn on/off use of Zero-Copy |
void |
toDetailedViewExt(org.adroitlogic.ultraesb.jmx.view.TransportView view)
|
| 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 |
|---|
public HttpNIOSender(FileCache fileCache)
fileCache - file cache to use| Method Detail |
|---|
public void setZeroCopyEnabled(boolean zeroCopyEnabled)
zeroCopyEnabled - false turns off (default true)public void setProxyHost(java.lang.String proxyHost)
proxyHost - HTTP proxy hostpublic void setProxyPort(int proxyPort)
proxyPort - HTTP proxy portpublic void setConnectionDebugHeaders(java.util.Set connectionDebugHeaders)
connectionDebugHeaders - a set of HTTP header names, or a single entry 'none' or 'all'public void setEnableConnectionDebug(boolean enableConnectionDebug)
enableConnectionDebug - enable when truepublic void setKeepalive(int keepalive)
keepalive - the time used for keepalive in mspublic void setKeepAliveSafetyThreshold(int keepAliveSafetyThreshold)
keepAliveSafetyThreshold - threshold to not use a connection in mspublic void setProxyBypassList(java.lang.String[] proxyBypassList)
proxyBypassList - list of addresses to bypass proxypublic void setReplaceUserAgent(boolean replaceUserAgent)
replaceUserAgent - false disables (default true)public void setUnzipResponseEntities(boolean unzipResponseEntities)
unzipResponseEntities - false leaves compressed responses intact (Default true)public void setContinueOnRuntimeExceptions(boolean continueOnRuntimeExceptions)
continueOnRuntimeExceptions - if true, ignores runtime exceptionspublic void setContinueOnCheckedExceptions(boolean continueOnCheckedExceptions)
continueOnCheckedExceptions - if true, ignores checked exceptionspublic void toDetailedViewExt(org.adroitlogic.ultraesb.jmx.view.TransportView view)
toDetailedViewExt in class org.adroitlogic.ultraesb.transport.base.AbstractTransportSender
|
Copyright (c) 2010-2012 AdroitLogic Private Ltd. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||