org.jcoderz.commons.connector.http
Interface HttpConnectorSessionInterface
- All Known Subinterfaces:
- HttpConnectorSession
- All Known Implementing Classes:
- HttpConnectorSessionBean, HttpConnectorSessionImpl, HttpConnectorSessionSession
public interface HttpConnectorSessionInterface
Bean interface for testing of the commons http connector.
sendAndReceive
ConnectorResponse sendAndReceive(byte[] request,
Url target,
HttpRequestResponseHeader header)
throws RemoteException,
ResourceException,
ConnectorException
- Send a request and receive a response using the http
connector.
- Parameters:
request - the requesttarget - the target hostheader - the request response header object
- Returns:
- ConnectorResponse value object for the response
- Throws:
RemoteException - in case of a bean error
ResourceException - in case of a connector error
ConnectorException - in case of a error on transport layer
Copyright 2007 The jCoderZ Project.