Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cactus.internal.client.connector.http
Interface ConnectionHelper

All Known Implementing Classes:
  HttpClientConnectionHelper

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).

Version:
  $Id: ConnectionHelper.java 238991 2004-05-22 11:34:50Z vmassol $

Method Summary
`java.net.HttpURLConnection` | `connect(WebRequest theRequest, Configuration theConfiguration)` Connects to the Cactus Redirector using HTTP.

Method Detail

### connect

    public java.net.HttpURLConnection connect(WebRequest theRequest,
                                              Configuration theConfiguration)
                                       throws java.lang.Throwable

  Connects to the Cactus Redirector using HTTP.

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000-2004 Apache Software Foundation. All Rights Reserved.