|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use CallRequest | |
org.xins.client | XINS client framework. |
org.xins.common.http | HTTP-related utility classes. |
org.xins.common.service | Service calling classes, supporting load-balancing and failover. |
Uses of CallRequest in org.xins.client |
Subclasses of CallRequest in org.xins.client | |
class |
XINSCallRequest
Abstraction of a XINS request. |
Methods in org.xins.client with parameters of type CallRequest | |
Object |
XINSServiceCaller.doCallImpl(CallRequest request,
CallConfig callConfig,
TargetDescriptor target)
Executes the specified request on the given target. |
protected CallResult |
XINSServiceCaller.createCallResult(CallRequest request,
TargetDescriptor succeededTarget,
long duration,
CallExceptionList exceptions,
Object result)
Constructs an appropriate CallResult object for a
successful call attempt. |
protected boolean |
XINSServiceCaller.shouldFailOver(CallRequest request,
CallConfig callConfig,
CallExceptionList exceptions)
Determines whether a call should fail-over to the next selected target based on a request, call configuration and exception list. |
Uses of CallRequest in org.xins.common.http |
Subclasses of CallRequest in org.xins.common.http | |
class |
HTTPCallRequest
A request towards an HTTP service. |
Methods in org.xins.common.http with parameters of type CallRequest | |
Object |
HTTPServiceCaller.doCallImpl(CallRequest request,
CallConfig callConfig,
TargetDescriptor target)
Executes a request towards the specified target. |
protected CallResult |
HTTPServiceCaller.createCallResult(CallRequest request,
TargetDescriptor succeededTarget,
long duration,
CallExceptionList exceptions,
Object result)
Constructs an appropriate CallResult object for a
successful call attempt. |
protected boolean |
HTTPServiceCaller.shouldFailOver(CallRequest request,
CallConfig callConfig,
CallExceptionList exceptions)
Determines whether a call should fail-over to the next selected target based on a request, call configuration and exception list. |
Uses of CallRequest in org.xins.common.service |
Methods in org.xins.common.service that return CallRequest | |
CallRequest |
CallResult.getRequest()
Returns the call request. |
CallRequest |
CallException.getRequest()
Returns the original request. |
Methods in org.xins.common.service with parameters of type CallRequest | |
protected CallResult |
ServiceCaller.doCall(CallRequest request,
CallConfig callConfig)
Attempts to execute the specified call request on one of the target services, with the specified call configuration. |
abstract Object |
ServiceCaller.doCallImpl(CallRequest request,
CallConfig callConfig,
TargetDescriptor target)
Calls the specified target using the specified subject. |
protected abstract CallResult |
ServiceCaller.createCallResult(CallRequest request,
TargetDescriptor succeededTarget,
long duration,
CallExceptionList exceptions,
Object result)
Constructs an appropriate CallResult object for a
successful call attempt. |
protected boolean |
ServiceCaller.shouldFailOver(CallRequest request,
CallConfig callConfig,
CallExceptionList exceptions)
Determines whether a call should fail-over to the next selected target based on a request, call configuration and exception list. |
Constructors in org.xins.common.service with parameters of type CallRequest | |
CallResult(CallRequest request,
TargetDescriptor succeededTarget,
long duration,
CallExceptionList exceptions)
Constructs a new CallResult object. |
|
TotalTimeOutCallException(CallRequest request,
TargetDescriptor target,
long duration)
Constructs a new TotalTimeOutCallException . |
|
CallException(String shortReason,
CallRequest request,
TargetDescriptor target,
long duration,
String detail,
Throwable cause)
Constructs a new CallException based on a short reason, the
original request, target called, call duration, detail message and cause
exception. |
|
ConnectionRefusedCallException(CallRequest request,
TargetDescriptor target,
long duration)
Constructs a new ConnectionRefusedCallException . |
|
NoRouteToHostCallException(CallRequest request,
TargetDescriptor target,
long duration)
Constructs a new NoRouteToHostCallException . |
|
UnknownHostCallException(CallRequest request,
TargetDescriptor target,
long duration)
Constructs a new UnknownHostCallException . |
|
IOCallException(CallRequest request,
TargetDescriptor target,
long duration,
IOException ioException)
Constructs a new IOCallException . |
|
UnexpectedExceptionCallException(CallRequest request,
TargetDescriptor target,
long duration,
String detail,
Throwable cause)
Constructs a new UnexpectedExceptionCallException . |
|
ConnectionTimeOutCallException(CallRequest request,
TargetDescriptor target,
long duration)
Constructs a new ConnectionTimeOutCallException . |
|
SocketTimeOutCallException(CallRequest request,
TargetDescriptor target,
long duration)
Constructs a new SocketTimeOutCallException . |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |