org.bsf.remoting.http
Class HttpServiceResponse
java.lang.Object
|
+--org.bsf.remoting.http.HttpServiceResponse
- All Implemented Interfaces:
- java.io.Serializable
- public class HttpServiceResponse
- extends java.lang.Object
- implements java.io.Serializable
This class holds the result of a client call.
Depending on the server, the response can be a result or an exception.
- See Also:
- Serialized Form
Field Summary |
private java.lang.Object |
result
|
private java.lang.Throwable |
throwable
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
throwable
private java.lang.Throwable throwable
result
private java.lang.Object result
HttpServiceResponse
public HttpServiceResponse(java.lang.Throwable throwable)
HttpServiceResponse
public HttpServiceResponse(java.lang.Object result)
getThrowable
public java.lang.Throwable getThrowable()
setThrowable
public void setThrowable(java.lang.Throwable throwable)
getResult
public java.lang.Object getResult()
setResult
public void setResult(java.lang.Object result)
isExceptionThrown
public boolean isExceptionThrown()