oracle.webcache.invalidation
Class InvalidationMessage

java.lang.Object
  |
  +--oracle.net.http.HttpMessage
        |
        +--oracle.webcache.invalidation.InvalidationMessage

public class InvalidationMessage
extends oracle.net.http.HttpMessage

This class represents an Oracle Web Cache Release 2.0 invalidation message.


Constructor Summary
InvalidationMessage(boolean useSOAP)
          Constructs an empty invalidation message.
InvalidationMessage(boolean useSOAP, boolean disconnect)
          Constructs an empty invalidation message.
InvalidationMessage(boolean p1, boolean p2, boolean p3)
           
 
Method Summary
TypeMethod
 void add(ObjectInvalidator objInv)
          Adds an ObjectInvalidator to invalidation message.
 void add(Uri uri)
          Adds new document(s) to invalidation message.
 java.lang.String getBody()
          Returns invalidation message in the form of an XML document.
 java.lang.String toString()
          Returns invalidation message in the form of an XML document.
 
Methods inherited from class oracle.net.http.HttpMessage
copy, getHeaders, getMethod, getPage, setBody
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidationMessage

public InvalidationMessage(boolean useSOAP)
Constructs an empty invalidation message.

Parameters:
useSOAP - reserved for future use, must be false

InvalidationMessage

public InvalidationMessage(boolean useSOAP,
                           boolean disconnect)
Constructs an empty invalidation message.

Parameters:
useSOAP - reserved for future use, must be false
disconnect - if true, instructs Web Cache to perform invalidation in "disconnected" mode.

InvalidationMessage

public InvalidationMessage(boolean p1,
                           boolean p2,
                           boolean p3)
Method Detail

add

public void add(Uri uri)
Adds new document(s) to invalidation message.

Parameters:
uri - URI of document(s) to be invalidated

See Also:
Uri

add

public void add(ObjectInvalidator objInv)
Adds an ObjectInvalidator to invalidation message.

Parameters:
objInv - ObjectInvalidator

See Also:
ObjectInvalidator

toString

public java.lang.String toString()
Returns invalidation message in the form of an XML document.
Overrides:
toString in class oracle.net.http.HttpMessage

getBody

public java.lang.String getBody()
Returns invalidation message in the form of an XML document.
Overrides:
getBody in class oracle.net.http.HttpMessage