|
Oracle Application Server Web Cache Invalidation API Reference 10g (9.0.4) B10402-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.webcache.invalidation.InvalidationResult
This class represents the result of sending a Web Cache invalidation message.
Constructor Summary | |
InvalidationResult(oracle.net.http.HttpResponse response) Encapsulates the result of an invalidation request | |
InvalidationResult(oracle.net.http.HttpResponse response, java.lang.Exception e) Encapsulates the result of an invalidation request |
Method Summary | |
boolean |
exceptionThrown() Was an exception thrown: |
long |
getElapsedTime() Return elapsed time (in msecs) |
java.lang.Exception |
getException() Returns exception |
java.util.Enumeration |
getObjectResults() Return ObjectResult sequence. |
java.lang.String |
getResponseBody() Return HTTP response body |
int |
getResponseCode() Return HTTP response code |
java.lang.String |
getResponseMessage() Return HTTP response message |
int |
getTotalNotCacheable() Return total number of "URI NOT CACHEABLE" occurences |
int |
getTotalNotFound() Return total number of "URI NOT FOUND" occurences |
int |
getTotalNumInv() Return total number of invalidated documents |
java.lang.String |
toString() Returns the InvalidationResult document sent by the WebCache |
java.lang.String |
toString(boolean full) Returns the InvalidationResult document sent by the WebCache |
boolean |
usedProxy() Did request go thru a proxy host? |
boolean |
wasAccepted() Was this an HTTP_ACCEPTED response? |
boolean |
wasOK() Was this an HTTP_OK response? |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public InvalidationResult(oracle.net.http.HttpResponse response)
public InvalidationResult(oracle.net.http.HttpResponse response, java.lang.Exception e)
Method Detail |
public long getElapsedTime()
public int getTotalNumInv()
public int getTotalNotCacheable()
public int getTotalNotFound()
public java.util.Enumeration getObjectResults()
ObjectResult
sequence. (This method is not implemented.)public boolean wasOK()
public boolean wasAccepted()
public java.lang.String getResponseBody()
RunTimeException
- if response body is not textpublic java.lang.String getResponseMessage()
public int getResponseCode()
public boolean exceptionThrown()
public java.lang.Exception getException()
public boolean usedProxy()
public java.lang.String toString()
InvalidationResult
document sent by the WebCachetoString
in class java.lang.Object
public java.lang.String toString(boolean full)
InvalidationResult
document sent by the WebCache
|
Oracle Application Server Web Cache Invalidation API Reference 10g (9.0.4) B10402-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |