oracle.calendar.soap.client
Class CalendaringResponse
java.lang.Object
|
+--oracle.calendar.soap.client.CalendaringResponse
- public class CalendaringResponse
- extends java.lang.Object
The CalendarResponse class is instantiated after every SOAP
command (assuming there was no exception), to store all the
information related to the processing of the SOAP request.
Additionally, if specific option for the capture of the
send/receive buffer is set prior to execution the SOAP command,
this class will store the additional information.
Constructor Summary |
CalendaringResponse()
Default constructor for the class. |
CalendaringResponse(java.util.Vector in_headerEntries,
java.util.Vector in_bodyEntries,
java.lang.String in_sendBuffer,
java.lang.String in_receiveBuffer,
long in_processingTime)
The main constructor of the CalendarResponse. |
Method Summary |
java.util.Vector |
getBodyEntries()
Returns the XML elements of the SOAP response. |
CalendarReply |
getCalendarReply()
Returns a CalendarReply object generated from the SOAP body. |
java.util.Vector |
getHeaderEntries()
Returns the XML elements of the response SOAP header. |
long |
getProcessingTime()
Returns the processing time (in milliseconds) required
to complete the round trip transaction to and from the
Web Services host. |
java.lang.String |
getReceiveBuffer()
Returns the SOAP receive buffer. |
java.lang.String |
getSendBuffer()
Returns the SOAP send buffer. |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
m_sendBuffer
public java.lang.String m_sendBuffer
m_receiveBuffer
public java.lang.String m_receiveBuffer
m_bodyEntries
private java.util.Vector m_bodyEntries
m_headerEntries
private java.util.Vector m_headerEntries
m_processingTime
private long m_processingTime
m_reply
private CalendarReply m_reply
CalendaringResponse
public CalendaringResponse()
- Default constructor for the class. Not used.
CalendaringResponse
public CalendaringResponse(java.util.Vector in_headerEntries,
java.util.Vector in_bodyEntries,
java.lang.String in_sendBuffer,
java.lang.String in_receiveBuffer,
long in_processingTime)
- The main constructor of the CalendarResponse.
- Parameters:
in_headerEntries
- a vector of SOAP headers from the
SOAP responsein_bodyEntries
- a vector of XML elements making up
the SOAP responsein_sendBuffer
- a character buffer with a copy of the
XML SOAP packet sent to the serverin_receiveBuffer
- a character buffer with a copy of the
XML SOAP packet received from the serverin_processingTime
- the processing time for the full SOAP
transaction
getBodyEntries
public java.util.Vector getBodyEntries()
- Returns the XML elements of the SOAP response. These elements
consist of all the child elements to the SOAP .
- Returns:
- Vector vector of XML elements
getHeaderEntries
public java.util.Vector getHeaderEntries()
- Returns the XML elements of the response SOAP header. These elements
consist of all the child elements to the SOAP .
- Returns:
- Vector vector of XML elements
getSendBuffer
public java.lang.String getSendBuffer()
- Returns the SOAP send buffer. This is the generated HTTP
contents that was sent to the Web Services server. This
is only available if setWantIOBuffers() on the calendarlet
class was set to true.
- Returns:
- String returns the tx buffer
- See Also:
Calendarlet
getReceiveBuffer
public java.lang.String getReceiveBuffer()
- Returns the SOAP receive buffer. This is the generated HTTP
contents that was received from the Web Services server. This
is only available if setWantIOBuffers() on the calendarlet
class was set to true.
- Returns:
- String returns the rx buffer
- See Also:
Calendarlet
getProcessingTime
public long getProcessingTime()
- Returns the processing time (in milliseconds) required
to complete the round trip transaction to and from the
Web Services host.
- Returns:
- long returns the processing time (milliseconds)
getCalendarReply
public CalendarReply getCalendarReply()
- Returns a CalendarReply object generated from the SOAP body. Each time
this method is called, a new CalendarReply will be generated.
- Returns:
- CalendarReply returns a CalendarReply object
- See Also:
Reply
,
PingReply