com.partnersoft.net.soap
Class SoapResponse

java.lang.Object
  extended by com.partnersoft.net.soap.SoapResponse

public class SoapResponse
extends java.lang.Object

Handles the output of a SOAP request

Can be given as a string, file, or outputstream

Copyright 2008 Partner Software, Inc.

Version:
$Id$
Author:
Jeremy Tarver

Constructor Summary
SoapResponse()
           
SoapResponse(java.io.OutputStream outStream)
           
SoapResponse(VfsFile outFile)
           
 
Method Summary
 void conclude()
           
 java.io.OutputStream getOutputStream()
           
 java.lang.String getResponse()
           
 boolean keepsResponseAsString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SoapResponse

public SoapResponse()

SoapResponse

public SoapResponse(VfsFile outFile)
             throws java.io.IOException
Throws:
java.io.IOException

SoapResponse

public SoapResponse(java.io.OutputStream outStream)
Method Detail

getOutputStream

public java.io.OutputStream getOutputStream()

conclude

public void conclude()
              throws java.io.UnsupportedEncodingException,
                     java.io.IOException
Throws:
java.io.UnsupportedEncodingException
java.io.IOException

getResponse

public java.lang.String getResponse()

keepsResponseAsString

public boolean keepsResponseAsString()