|
Novell exteNd Web Services SDK API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The ClientRequest
class represents the XML RPC request
created by the client. It is a specialized output stream.
Method Summary | |
Map |
_getProperties()
Get request properties |
void |
_setProperties(Map properties)
Set request properties |
ClientResponse |
createResponse(Reader reader)
Create a client response object from data in Reader |
ClientResponse |
createResponse(Reader reader,
Map mimeParts)
Create a client response object from data in Reader |
ClientResponse |
createResponse(Reader reader,
Map mimeParts,
boolean headerExpected)
Create a client response object from data in Reader |
void |
endHeader()
Ends the SOAP Header element, writes the SOAP BODY element and name of the operation for rpc requests. |
String |
getMethod()
Get the method name |
RequestProperty[] |
getProperties()
Deprecated. As of JBroker Web 2.0, replaced by _getProperties() |
boolean |
responseExpected()
Is the response expected |
void |
setProperties(RequestProperty[] properties)
Deprecated. As of JBroker Web 2.0, replaced by _setProperties(Map) |
void |
setTypeMapper(TypeMapper typeMapper)
Deprecated. As of jBrokerWeb 2.0 replaced by setTypeMappingRegistry(TypeMappingRegistry) |
void |
setTypeMappingRegistry(TypeMappingRegistry registry)
Set the TypeMappingRegistry to be used when marshaling
the request parameters |
Methods inherited from interface com.sssw.jbroker.web.portable.OutputStream |
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 |
public String getMethod()
public boolean responseExpected()
public ClientResponse createResponse(Reader reader) throws IOException
reader
- the reader from which to read the response data
IOException
public ClientResponse createResponse(Reader reader, Map mimeParts) throws IOException
reader
- the reader from which to read the response datamimeParts
- the mimeParts of the response data
IOException
public ClientResponse createResponse(Reader reader, Map mimeParts, boolean headerExpected) throws IOException
reader
- the reader from which to read the response datamimeParts
- the mimeParts of the response dataheaderExpected
- true if the response contains header element
IOException
public void setProperties(RequestProperty[] properties)
properties
- an array of request propertiespublic void _setProperties(Map properties)
properties
- a Map
with request propertiespublic RequestProperty[] getProperties()
public Map _getProperties()
_getProperties
in interface OutputStream
Map
with request propertiespublic void setTypeMapper(TypeMapper typeMapper)
TypeMapper
to be used when marshaling the
request parameters
typeMapper
- a type mapper objectpublic void setTypeMappingRegistry(TypeMappingRegistry registry)
TypeMappingRegistry
to be used when marshaling
the request parameters
registry
- a type mapping registry objectpublic void endHeader() throws IOException
IOException
|
Novell exteNd Web Services SDK API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |