org.codehaus.activesoap.transport.http
Class HttpTransportClient
java.lang.Object
org.codehaus.activesoap.transport.TransportClientSupport
org.codehaus.activesoap.transport.http.HttpTransportClient
- All Implemented Interfaces:
- TransportClient
- public class HttpTransportClient
- extends TransportClientSupport
- Version:
- $Revision: 1.3 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpTransportClient
public HttpTransportClient(URL url)
HttpTransportClient
public HttpTransportClient(String url)
throws MalformedURLException
invokeOneWay
public void invokeOneWay(Invocation invocation,
Reader request)
throws Exception
- Description copied from interface:
TransportClient
- Performs a one way request
- Throws:
Exception
invokeRequest
public Reader invokeRequest(Invocation invocation,
Reader request)
throws Exception
- Description copied from interface:
TransportClient
- Performs a request-reply, waiting for the response before returning
- Throws:
Exception
close
public void close()
throws Exception
- Description copied from interface:
TransportClient
- Closes down the transport if it has any resources open etc.
- Throws:
Exception
getUrl
public URL getUrl()
setUrl
public void setUrl(URL url)
invoke
protected String invoke(Invocation invocation,
Reader request)
throws Exception
- Throws:
Exception
getText
protected String getText(InputStream inputStream)
throws IOException
- Throws:
IOException
createConnection
protected HttpURLConnection createConnection()
throws IOException
- Throws:
IOException
configureConnection
protected void configureConnection(HttpURLConnection connection)
- A pluggable Strategy pattern allowing a connection to be configured
Copyright © 2004-2007 LogicBlaze, Inc.. All Rights Reserved.