flex.messaging.services.http
Class SOAPProxyAdapter

java.lang.Object
  extended by flex.management.ManageableComponent
      extended by flex.messaging.services.ServiceAdapter
          extended by flex.messaging.services.http.HTTPProxyAdapter
              extended by flex.messaging.services.http.SOAPProxyAdapter
All Implemented Interfaces:
Manageable, FlexComponent, FlexConfigurable

public class SOAPProxyAdapter
extends HTTPProxyAdapter

A Soap specific subclass of HttpProxyAdapter to allow for future web services features.


Field Summary
 
Fields inherited from class flex.messaging.services.ServiceAdapter
LOG_CATEGORY
 
Constructor Summary
SOAPProxyAdapter()
          Constructs an unmanaged SOAPProxyAdapter instance.
SOAPProxyAdapter(boolean enableManagement)
          Constructs a SOAPProxyAdapter instance.
 
Method Summary
 Object invoke(Message msg)
          Handle a data message intended for this adapter. This method is responsible for handling the message and returning a result (if any). The return value of this message is used as the body of the acknowledge message returned to the client. It may be null if there is no data being returned for this message.

Typically the data content for the message is stored in the body property of the message. The headers of the message are used to store fields which relate to the transport of the message. The type of operation is stored as the operation property of the message.

 
Methods inherited from class flex.messaging.services.http.HTTPProxyAdapter
getConnectionManagerSettings, getCookieLimit, getExternalProxySettings, initialize, isAllowLaxSSL, isContentChunked, setAllowLaxSSL, setConnectionManagerSettings, setContentChunked, setCookieLimit, setDestination, setExternalProxySettings
 
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

SOAPProxyAdapter

public SOAPProxyAdapter()
Constructs an unmanaged SOAPProxyAdapter instance.


SOAPProxyAdapter

public SOAPProxyAdapter(boolean enableManagement)
Constructs a SOAPProxyAdapter instance.

Parameters:
enableManagement - true if the SOAPProxyAdapter has a corresponding MBean control for management; otherwise false.
Method Detail

invoke

public Object invoke(Message msg)
Handle a data message intended for this adapter. This method is responsible for handling the message and returning a result (if any). The return value of this message is used as the body of the acknowledge message returned to the client. It may be null if there is no data being returned for this message.

Typically the data content for the message is stored in the body property of the message. The headers of the message are used to store fields which relate to the transport of the message. The type of operation is stored as the operation property of the message.

Overrides:
invoke in class HTTPProxyAdapter
Parameters:
msg - the message as sent by the client intended for this adapter
Returns:
the body of the acknowledge message (or null if there is no body)
See Also:
Message, AsyncMessage


Copyright © 2008 Adobe Systems Inc. All Rights Reserved.

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/blazeds/1/javadoc/flex/messaging/services/http/SOAPProxyAdapter.html