org.xins.client
Class XINSCallConfig

java.lang.Object
  extended byorg.xins.common.service.CallConfig
      extended byorg.xins.client.XINSCallConfig
All Implemented Interfaces:
Serializable

public final class XINSCallConfig
extends CallConfig

Call configuration for the XINS service caller. The HTTP method and the can be configured. By default it is set to POST.

Since:
XINS 1.1.0
Version:
$Revision: 1.14 $ $Date: 2006/08/28 09:12:31 $
Author:
Ernst de Haan
See Also:
Serialized Form

Constructor Summary
XINSCallConfig()
          Constructs a new XINSCallConfig object.
 
Method Summary
 String describe()
          Describes this configuration.
 HTTPMethod getHTTPMethod()
          Returns the HTTP method associated with this configuration.
 void setHTTPMethod(HTTPMethod method)
          Sets the HTTP method associated with this configuration.
 
Methods inherited from class org.xins.common.service.CallConfig
getLock, isFailOverAllowed, setFailOverAllowed, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XINSCallConfig

public XINSCallConfig()
Constructs a new XINSCallConfig object.

Method Detail

getHTTPMethod

public HTTPMethod getHTTPMethod()
Returns the HTTP method associated with this configuration.

Returns:
the HTTP method, never null.

setHTTPMethod

public void setHTTPMethod(HTTPMethod method)
                   throws IllegalArgumentException
Sets the HTTP method associated with this configuration.

Parameters:
method - the HTTP method to be associated with this configuration, cannot be null.
Throws:
IllegalArgumentException - if method == null.

describe

public String describe()
Describes this configuration.

Overrides:
describe in class CallConfig
Returns:
the description of this configuration, should never be null, should never be empty and should never start or end with whitespace characters.


See http://www.xins.org/.