|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectflex.management.ManageableComponent
flex.messaging.services.ServiceAdapter
flex.messaging.services.http.HTTPProxyAdapter
public class HTTPProxyAdapter
| Field Summary |
|---|
| Fields inherited from class flex.messaging.services.ServiceAdapter |
|---|
LOG_CATEGORY |
| Constructor Summary | |
|---|---|
HTTPProxyAdapter()
Constructs an unmanaged HTTPProxyAdapter instance. |
|
HTTPProxyAdapter(boolean enableManagement)
Constructs a HTTPProxyAdapter instance. |
|
| Method Summary | |
|---|---|
HTTPConnectionManagerSettings |
getConnectionManagerSettings()
Returns HTTPConnectionManagerSettings. |
int |
getCookieLimit()
Returns the cookie-limit property. |
ExternalProxySettings |
getExternalProxySettings()
Returns ExternalProxySettings. |
void |
initialize(String id,
ConfigMap properties)
Initializes the HTTPProxyAdapter with the properties. |
Object |
invoke(Message msg)
Handle a data message intended for this adapter. |
boolean |
isAllowLaxSSL()
Returns allow-lax-ssl property. |
boolean |
isContentChunked()
Returns the content-chunked property. |
void |
setAllowLaxSSL(boolean allowLaxSSL)
Sets allow-lax-ssl property which determines if self-signed
certificates are allowed; should not be used in production. |
void |
setConnectionManagerSettings(HTTPConnectionManagerSettings connectionManagerSettings)
Sets HTTPConnectionManagerSettings. |
void |
setContentChunked(boolean contentChunked)
Sets the content-chunked property. |
void |
setCookieLimit(int cookieLimit)
Sets the cookie-limit property. |
void |
setDestination(Destination destination)
Casts the Destination into HTTPProxyDestination
and calls super.setDestination |
void |
setExternalProxySettings(ExternalProxySettings externalProxy)
Sets ExternalProxySettings. |
| Methods inherited from class flex.messaging.services.ServiceAdapter |
|---|
getAdapterState, getDestination, handlesSubscriptions, manage, setAdapterState, start, stop |
| Methods inherited from class flex.management.ManageableComponent |
|---|
getControl, getId, getParent, isManaged, isStarted, isValid, setControl, setId, setManaged, setParent |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HTTPProxyAdapter()
HTTPProxyAdapter instance.
public HTTPProxyAdapter(boolean enableManagement)
HTTPProxyAdapter instance.
enableManagement - true if the HTTPProxyAdapter has a
corresponding MBean control for management; otherwise false.| Method Detail |
|---|
public void initialize(String id,
ConfigMap properties)
HTTPProxyAdapter with the properties.
<connection-manager>
<max-total-connections>100</max-total-connections>
<default-max-connections-per-host>2</default-max-connections-per-host>
<connection-timeout>0</connection-timeout>
<socket-timeout></socket-timeout>
<stale-checking-enabled></stale-checking-enabled>
<send-buffer-size></send-buffer-size>
<receive-buffer-size></receive-buffer-size>
<tcp-no-delay>true</tcp-no-delay>
<linger>-1</linger>
<max-per-host>
<host>...</host>
<port>80</port>
<protocol>http</protocol>
<protocol-factory class="flex.messaging.services.http.ProtocolFactory">
<properties>...</properties>
</protocol-factory>
<max-connections>2</max-connections>
<proxy>
<host>...</host>
<port>80</port>
</proxy>
<local-address>...</local-address>
<virtual-host>...</virtual-host>
</max-per-host>
</connection-manager>
<cookie-limit>200</cookie-limit>
<allow-lax-ssl>false</allow-lax-ssl>
<content-chunked>false</content-chunked>
<external-proxy>
<server>...</server>
<port>80</port>
<nt-domain>...</nt-domain>
<username>...</username>
<password>...</password>
</external-proxy>
initialize in interface FlexConfigurableinitialize in class ManageableComponentproperties - Properties for the Destination.id - Id of the ManageableComponent.public boolean isAllowLaxSSL()
allow-lax-ssl property.
true if allow-lax-ssl property is
true; otherwise false.public void setAllowLaxSSL(boolean allowLaxSSL)
allow-lax-ssl property which determines if self-signed
certificates are allowed; should not be used in production.
Default false.
allowLaxSSL - public boolean isContentChunked()
content-chunked property.
true if content-chunked property is
true; otherwise false.public void setContentChunked(boolean contentChunked)
content-chunked property. Default false.
contentChunked - public int getCookieLimit()
cookie-limit property.
cookie-limit property.public void setCookieLimit(int cookieLimit)
cookie-limit property. Default 200.
cookieLimit - public void setDestination(Destination destination)
Destination into HTTPProxyDestination
and calls super.setDestination
setDestination in class ServiceAdapterdestination - public ExternalProxySettings getExternalProxySettings()
ExternalProxySettings.
public void setExternalProxySettings(ExternalProxySettings externalProxy)
ExternalProxySettings.
externalProxy - public HTTPConnectionManagerSettings getConnectionManagerSettings()
HTTPConnectionManagerSettings.
public void setConnectionManagerSettings(HTTPConnectionManagerSettings connectionManagerSettings)
HTTPConnectionManagerSettings.
connectionManagerSettings - public Object invoke(Message msg)
invoke in class ServiceAdaptermsg - the message as sent by the client intended for this adapter
Message,
AsyncMessage
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/lcdsjavadoc/flex/messaging/services/http/HTTPProxyAdapter.html