Package | Description |
---|---|
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.
|
org.xins.common.spring |
Classes related to the integration of XINS with the Spring framework.
|
org.xins.common.types.standard |
Standard XINS types.
|
org.xins.server |
XINS server framework.
|
Modifier and Type | Method and Description |
---|---|
void |
XINSServiceCaller.setDescriptor(Descriptor descriptor) |
Constructor and Description |
---|
AbstractCAPI(Descriptor descriptor)
Creates a new
AbstractCAPI object, using the specified
service descriptor. |
AbstractCAPI(Descriptor descriptor,
XINSCallConfig callConfig)
Creates a new
AbstractCAPI object, using the specified
XINSServiceCaller . |
XINSServiceCaller(Descriptor descriptor)
Constructs a new
XINSServiceCaller with the specified
descriptor and the default HTTP method. |
XINSServiceCaller(Descriptor descriptor,
XINSCallConfig callConfig)
Constructs a new
XINSServiceCaller with the specified
descriptor and call configuration. |
Constructor and Description |
---|
HTTPServiceCaller(Descriptor descriptor)
Constructs a new
HTTPServiceCaller object. |
HTTPServiceCaller(Descriptor descriptor,
HTTPCallConfig callConfig)
Constructs a new
HTTPServiceCaller object with the
specified descriptor and call configuration. |
Modifier and Type | Class and Description |
---|---|
class |
GroupDescriptor
Descriptor for a group of services.
|
class |
TargetDescriptor
Descriptor for a single target service.
|
Modifier and Type | Method and Description |
---|---|
static Descriptor |
DescriptorBuilder.build(Map<String,String> properties,
String propertyName)
Builds a
Descriptor based on the specified set of
properties. |
static Descriptor |
DescriptorBuilder.build(ServiceCaller caller,
Map<String,String> properties,
String propertyName)
Builds a
Descriptor based on the specified set of
properties, for the specified service caller. |
static Descriptor |
DescriptorBuilder.build(String descriptorValue)
Builds a
Descriptor based on the specified value. |
Descriptor |
ServiceCaller.getDescriptor()
Returns the descriptor.
|
Descriptor[] |
GroupDescriptor.getMembers()
Returns the members of this group.
|
Modifier and Type | Method and Description |
---|---|
void |
ServiceCaller.setDescriptor(Descriptor descriptor)
Sets the descriptor.
|
Constructor and Description |
---|
GroupDescriptor(GroupDescriptor.Type type,
Descriptor[] members)
Constructs a new
GroupDescriptor . |
ServiceCaller(Descriptor descriptor,
CallConfig callConfig)
Constructs a new
ServiceCaller with the specified
CallConfig . |
Modifier and Type | Method and Description |
---|---|
Descriptor |
XinsClientInterceptor.createDescriptor()
Creates the
Descriptor containing the location of the API. |
Modifier and Type | Method and Description |
---|---|
static Descriptor |
Descriptor.fromStringForOptional(String string)
Constructs a
org.xins.common.service.Descriptor from the specified string. |
static Descriptor |
Descriptor.fromStringForRequired(String string)
Constructs a
org.xins.common.service.Descriptor from the specified string
which is guaranteed to be non-null . |
Modifier and Type | Method and Description |
---|---|
static String |
Descriptor.toString(Descriptor value)
Converts the specified
org.xins.common.service.Descriptor to a string. |
Modifier and Type | Field and Description |
---|---|
protected Map<Pattern,Descriptor> |
LoadBalancerInterceptor.descriptors |
Modifier and Type | Method and Description |
---|---|
protected List<Descriptor> |
RuntimeProperties.descriptors()
Gets the descriptor list.
|
See http://www.xins.org/.