flex.messaging.services.http
Interface ProtocolFactory

All Superinterfaces:
FlexConfigurable

public interface ProtocolFactory
extends FlexConfigurable

Implementations of the ProtocolFactory interface allow the developer to customize how the HTTP Proxy Service communicates with a 3rd party endpoint. ProtocolFactory extends FlexConfigurable to allow for properties to be provided directly in the services configuration.

An example of a custom protocol might be to provide client certificates for two-way SSL authentication for a specific destination.

Implementations of this interface must provide a default, no-args constructor.


Method Summary
 org.apache.commons.httpclient.protocol.Protocol getProtocol()
          Returns a custom implementation of Apache Commons HTTPClient's Protocol interface.
 
Methods inherited from interface flex.messaging.FlexConfigurable
initialize
 

Method Detail

getProtocol

org.apache.commons.httpclient.protocol.Protocol getProtocol()
Returns a custom implementation of Apache Commons HTTPClient's Protocol interface.

Returns:
An implementation of org.apache.commons.httpclient.protocol.Protocol.


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/ProtocolFactory.html