org.codehaus.xfire.transport.http
Class CommonsHttpMessageSender
java.lang.Object
org.codehaus.xfire.transport.http.AbstractMessageSender
org.codehaus.xfire.transport.http.CommonsHttpMessageSender
- public class CommonsHttpMessageSender
- extends AbstractMessageSender
Sends a http message via commons http client. To customize the
HttpClient parameters, set the property HTTP_CLIENT_PARAMS
on the MessageContext for your invocation.
- Since:
- Oct 26, 2004
- Author:
- Dan Diephouse
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTTP_CLIENT_PARAMS
public static final java.lang.String HTTP_CLIENT_PARAMS
- See Also:
- Constant Field Values
USER_AGENT
public static final java.lang.String USER_AGENT
- See Also:
- Constant Field Values
HTTP_PROXY_HOST
public static final java.lang.String HTTP_PROXY_HOST
- See Also:
- Constant Field Values
HTTP_PROXY_PORT
public static final java.lang.String HTTP_PROXY_PORT
- See Also:
- Constant Field Values
CommonsHttpMessageSender
public CommonsHttpMessageSender(OutMessage message,
MessageContext context)
open
public void open()
throws java.io.IOException,
XFireException
- Specified by:
open
in class AbstractMessageSender
- Throws:
java.io.IOException
XFireException
send
public void send()
throws org.apache.commons.httpclient.HttpException,
java.io.IOException,
XFireException
- Specified by:
send
in class AbstractMessageSender
- Throws:
org.apache.commons.httpclient.HttpException
java.io.IOException
XFireException
hasResponse
public boolean hasResponse()
- Specified by:
hasResponse
in class AbstractMessageSender
getInMessage
public InMessage getInMessage()
throws java.io.IOException
- Specified by:
getInMessage
in class AbstractMessageSender
- Throws:
java.io.IOException
getMethod
public org.apache.commons.httpclient.methods.PostMethod getMethod()
close
public void close()
throws XFireException
- Specified by:
close
in class AbstractMessageSender
- Throws:
XFireException
Copyright © 2004-2006 null. All Rights Reserved.