Novell exteNd Web Services SDK API

com.sssw.jbroker.web.portable
Interface ServerResponse

All Superinterfaces:
OutputStream

public interface ServerResponse
extends OutputStream

Reprsents an XML RPC response created by the Server.


Method Summary
 void endHeader()
          Ends the SOAP Header element, writes the SOAP BODY element and response name of the operation for rpc response.
 void writeException(Throwable t)
          Write an exception.
 void writeException(Throwable t, Object obj, String name)
          Write an exception with the given name.
 void writeException(Throwable t, Object obj, String namespace, String localName)
          Write an exception with the given namesapce and localName.
 void writeException(Throwable t, String name)
          Write an exception with the given name.
 void writeException(Throwable t, String namespace, String localName)
          Write an exception with the given namesapce and localName.
 
Methods inherited from interface com.sssw.jbroker.web.portable.OutputStream
_getProperties, createInputStream, createInputStream, createInputStreamReader, getEncodingStyleURI, getSchemaURI, isDocument, setEncodingStyleURI, size, toByteArray, writeAttachment, writeBoolean, writeBoolean, writeByte, writeByte, writeChar, writeChar, writeContent, writeDouble, writeDouble, writeFloat, writeFloat, writeInt, writeInt, writeLong, writeLong, writeObject, writeObject, writeObject, writeObject, writeShort, writeShort, writeTo
 

Method Detail

writeException

public void writeException(Throwable t)
                    throws IOException
Write an exception.

Throws:
IOException

writeException

public void writeException(Throwable t,
                           String name)
                    throws IOException
Write an exception with the given name.

Throws:
IOException

writeException

public void writeException(Throwable t,
                           Object obj,
                           String name)
                    throws IOException
Write an exception with the given name.

Throws:
IOException

writeException

public void writeException(Throwable t,
                           String namespace,
                           String localName)
                    throws IOException
Write an exception with the given namesapce and localName.

Throws:
IOException

writeException

public void writeException(Throwable t,
                           Object obj,
                           String namespace,
                           String localName)
                    throws IOException
Write an exception with the given namesapce and localName.

Throws:
IOException

endHeader

public void endHeader()
               throws IOException
Ends the SOAP Header element, writes the SOAP BODY element and response name of the operation for rpc response. This method should be called once all the header elements are already written.

Throws:
IOException
Since:
jBrokerWeb 2.1

Novell exteNd Web Services SDK API

exteNd is a registered trademark of Novell, Inc.
Copyright 1998-2003 Novell, Inc. All Rights Reserved.