flex.messaging.endpoints
Class HTTPEndpoint

java.lang.Object
  extended by flex.management.ManageableComponent
      extended by flex.messaging.endpoints.AbstractEndpoint
          extended by flex.messaging.endpoints.BaseHTTPEndpoint
              extended by flex.messaging.endpoints.BasePollingHTTPEndpoint
                  extended by flex.messaging.endpoints.HTTPEndpoint
All Implemented Interfaces:
Manageable, PollWaitListener, Endpoint, Endpoint2, FlexComponent, FlexConfigurable
Direct Known Subclasses:
SecureHTTPEndpoint

public class HTTPEndpoint
extends BasePollingHTTPEndpoint

This class replaces Flex 1.5's ProxyServlet by splitting the proxy's functionality into two pieces. Requests for proxied HTTP content can now be sent using a message type via any channel. The message broker directs requests to the appropriate service, in Flex 1.5 terms, the Proxy Service. The response from the proxy request is streamed back to the client. //TODO: QUESTION: Pete, How should we wrap HTTP responses via this channel?


Field Summary
static String LOG_CATEGORY
           
 
Constructor Summary
HTTPEndpoint()
          Constructs an unmanaged HTTPEndpoint.
HTTPEndpoint(boolean enableManagement)
          Constructs a HTTPEndpoint with the indicated management.
 
Method Summary
 Message convertToSmallMessage(Message message)
          Currently this override is a no-op to disable small messages over HTTP endpoints.
 
Methods inherited from class flex.messaging.endpoints.BasePollingHTTPEndpoint
getClientWaitInterval, getMaxWaitingPollRequests, getWaitInterval, initialize, setClientWaitInterval, setMaxWaitingPollRequests, setWaitInterval, start, stop, waitEnd, waitStart
 
Methods inherited from class flex.messaging.endpoints.BaseHTTPEndpoint
getRedirectURL, isAddNoCacheHeaders, isInvalidateSessionOnDisconnect, service, setAddNoCacheHeaders, setInvalidateSessionOnDisconnect, setRedirectURL, setupFlexClient
 
Methods inherited from class flex.messaging.endpoints.AbstractEndpoint
describeEndpoint, getClientType, getFlexClientOutboundQueueProcessorClass, getFlexClientOutboundQueueProcessorConfig, getMessageBroker, getMessagingVersion, getPort, getSecurityConstraint, getSerializationContext, getServer, getTypeMarshaller, getUrl, isSecure, serviceMessage, setClientType, setFlexClientOutboundQueueProcessorClass, setFlexClientOutboundQueueProcessorConfig, setId, setMessageBroker, setSecurityConstraint, setSerializationContext, setServer, setTypeMarshaller, setupFlexClient, setUrl
 
Methods inherited from class flex.management.ManageableComponent
getControl, getId, getParent, isManaged, isStarted, isValid, setControl, setManaged, setParent
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface flex.messaging.endpoints.Endpoint
getId, isStarted
 
Methods inherited from interface flex.management.Manageable
getControl, isManaged, setControl, setManaged
 

Field Detail

LOG_CATEGORY

public static final String LOG_CATEGORY
See Also:
Constant Field Values
Constructor Detail

HTTPEndpoint

public HTTPEndpoint()
Constructs an unmanaged HTTPEndpoint.


HTTPEndpoint

public HTTPEndpoint(boolean enableManagement)
Constructs a HTTPEndpoint with the indicated management.

Parameters:
enableManagement - true if the HTTPEndpoint is manageable; otherwise false.
Method Detail

convertToSmallMessage

public Message convertToSmallMessage(Message message)
Currently this override is a no-op to disable small messages over HTTP endpoints.

Overrides:
convertToSmallMessage in class AbstractEndpoint


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/endpoints/HTTPEndpoint.html