org.codehaus.activesoap.transport
Class Invocation

java.lang.Object
  extended byorg.codehaus.activesoap.transport.Invocation

public class Invocation
extends Object

Represents the invocation of an operation, whether REST or SOAP

Version:
$Revision: 1.9 $

Constructor Summary
Invocation(TransportClient transport, XMLStreamFactory streamFactory)
           
 
Method Summary
 BufferedReader asBufferedReader(Reader request)
          A helper method which returns the reader as a BufferedReader
protected  Reader createRequestReader()
           
protected  XMLStreamReader createXMLStreamReader(Reader reader)
           
protected  XMLStreamWriter createXMLStreamWriter()
           
 XMLStreamWriter getOut()
           
protected  String getRequestText()
           
 void invokeOneWay()
          Invokes a one way operation
 XMLStreamReader invokeRequest()
          Performs a request/reply waiting for the reply and returning a parser on the response
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Invocation

public Invocation(TransportClient transport,
                  XMLStreamFactory streamFactory)
Method Detail

getOut

public XMLStreamWriter getOut()
                       throws XMLStreamException
Throws:
XMLStreamException

invokeOneWay

public void invokeOneWay()
                  throws Exception
Invokes a one way operation

Throws:
Exception

invokeRequest

public XMLStreamReader invokeRequest()
                              throws Exception
Performs a request/reply waiting for the reply and returning a parser on the response

Throws:
Exception

asBufferedReader

public BufferedReader asBufferedReader(Reader request)
A helper method which returns the reader as a BufferedReader


createRequestReader

protected Reader createRequestReader()
                              throws XMLStreamException
Throws:
XMLStreamException

getRequestText

protected String getRequestText()

createXMLStreamReader

protected XMLStreamReader createXMLStreamReader(Reader reader)
                                         throws XMLStreamException
Throws:
XMLStreamException

createXMLStreamWriter

protected XMLStreamWriter createXMLStreamWriter()
                                         throws XMLStreamException
Throws:
XMLStreamException


Copyright © 2004-2007 LogicBlaze, Inc.. All Rights Reserved.