org.codehaus.xfire.transport.http
Class SimpleMessageSender
java.lang.Object
org.codehaus.xfire.transport.http.AbstractMessageSender
org.codehaus.xfire.transport.http.SimpleMessageSender
- public class SimpleMessageSender
- extends AbstractMessageSender
Sends a message via the JDK HTTP URLConnection. This is very buggy. Drop
commons-httpclient on your classpath and XFire will use CommonsHttpMessageSender instead.
- 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 |
SimpleMessageSender
public SimpleMessageSender(OutMessage message,
MessageContext context)
open
public void open()
throws java.io.IOException,
XFireFault
- Specified by:
open
in class AbstractMessageSender
- Throws:
java.io.IOException
XFireFault
getOutputStream
public java.io.OutputStream getOutputStream()
throws java.io.IOException,
XFireFault
- Throws:
java.io.IOException
XFireFault
getInMessage
public InMessage getInMessage()
throws java.io.IOException
- Specified by:
getInMessage
in class AbstractMessageSender
- Throws:
java.io.IOException
close
public void close()
throws XFireException
- Specified by:
close
in class AbstractMessageSender
- Throws:
XFireException
hasResponse
public boolean hasResponse()
- Specified by:
hasResponse
in class AbstractMessageSender
send
public void send()
throws java.io.IOException,
XFireFault
- Specified by:
send
in class AbstractMessageSender
- Throws:
java.io.IOException
XFireFault
Copyright © 2004-2006 null. All Rights Reserved.