org.apache.cactus.internal.client.connector.http
Class HttpProtocolState
java.lang.Object
org.apache.cactus.internal.client.connector.http.HttpProtocolState
- All Implemented Interfaces:
- ProtocolState
- public class HttpProtocolState
- extends java.lang.Object
- implements ProtocolState
HTTP-specific state information to be passed to the different
ProtocolHandler
lifecycle
methods. More specifically, we need to pass around the HTTP connection
object as it is created in the lifecycle method that runs the test
and the it is required in the lifecycle methods that create the
response factory instance and that clean up the test (the HTTP connection
is closed if need be).
- Version:
- $Id: HttpProtocolState.java,v 1.1 2004/05/22 11:34:46 vmassol Exp $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpProtocolState
public HttpProtocolState()
setConnection
public void setConnection(java.net.HttpURLConnection theConnection)
- Parameters:
theConnection
- the HTTP connection that was used to connect to the
server side to execute the test.
getConnection
public java.net.HttpURLConnection getConnection()
- Returns:
- the HTTP connection that was used to connect to the server side
to execute the test.
Copyright © 2000-2004 Apache Software Foundation. All Rights Reserved.