Novell exteNd Web Services SDK API

com.sssw.jbroker.web.portable
Interface ClientResponse

All Superinterfaces:
InputStream

public interface ClientResponse
extends InputStream

The reponse received by the Client.


Field Summary
 
Fields inherited from interface com.sssw.jbroker.web.portable.InputStream
NEXT_ELEMENT, SOAP_BODY, SOAP_HEADER
 
Method Summary
 void lookForException()
          This method throws an Application Exception if the response is an exception reply.
 void seek(int elementNum)
          Postions the stream on a particular element.
 
Methods inherited from interface com.sssw.jbroker.web.portable.InputStream
close, getAttributes, getEncodingStyleURI, getQName, isDocument, peek, readAttachment, readBoolean, readBoolean, readByte, readByte, readChar, readChar, readContent, readDouble, readDouble, readFloat, readFloat, readInt, readInt, readLong, readLong, readObject, readObject, readObject, readObject, readObject, readShort, readShort, setEncodingStyleURI, setMixedContent
 

Method Detail

lookForException

public void lookForException()
                      throws ApplicationException,
                             IOException
This method throws an Application Exception if the response is an exception reply.

Throws:
ApplicationException
IOException

seek

public void seek(int elementNum)
          throws IOException
Postions the stream on a particular element. Care must be taken while calling these methods as seeking to the same position again may not be available.

Parameters:
elementNum - constant defined by InputStream for BODY, HEADER or ELEMENT.
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.