Interface ConnectionHelper

All Known Implementing Classes:

public interface ConnectionHelper

Helper class to open an HTTP connection to the server redirector and pass to it HTTP parameters, Cookies and HTTP headers. It enables different possible implementations of an HTTP connection (ex: using the JDK HttpURLConnection or using Jakarta HttpClient).

$Id: 238991 2004-05-22 11:34:50Z vmassol $

Method Summary connect(WebRequest theRequest, Configuration theConfiguration)
          Connects to the Cactus Redirector using HTTP.

Method Detail

connect connect(WebRequest theRequest,
                                   Configuration theConfiguration)
                                   throws java.lang.Throwable
Connects to the Cactus Redirector using HTTP.

theRequest - the request containing all data to pass to the server redirector.
theConfiguration - the Cactus configuration
the HTTP Connection used to connect to the redirector.
java.lang.Throwable - if an unexpected error occured

Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.