|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.common.clients.builders.AddressingUtils
public class AddressingUtils
Factory methods for addresses of service endpoints and service instances.
| Field Summary | |
|---|---|
static String |
keyElement
|
| Constructor Summary | |
|---|---|
AddressingUtils()
|
|
| Method Summary | |
|---|---|
static W3CEndpointReference |
address(String contextPath,
String service,
String host,
int port)
Return the address of a service endpoint. |
static W3CEndpointReference |
address(String contextPath,
String service,
String namespace,
String key,
String host,
int port)
Returns the address of a service instance. |
static W3CEndpointReference |
address(String contextPath,
String service,
String namespace,
String key,
URI address)
Returns the address of a service instance. |
static W3CEndpointReference |
address(String contextPath,
String service,
String namespace,
String key,
URL address)
Returns the address of a service instance. |
static W3CEndpointReference |
address(String contextPath,
String service,
URI address)
Return the address of a service endpoint. |
static W3CEndpointReference |
address(String contextPath,
String service,
URL address)
Return the address of a service endpoint. |
static Element |
key(String namespace,
String value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String keyElement
| Constructor Detail |
|---|
public AddressingUtils()
| Method Detail |
|---|
public static W3CEndpointReference address(String contextPath,
String service,
String host,
int port)
throws IllegalArgumentException
contextPath - the context path of the serviceservice - the name of the servicehost - the host of the endpointport - the port of the endpoint
IllegalArgumentException - if an address cannot be derived from the inputs
public static W3CEndpointReference address(String contextPath,
String service,
URL address)
throws IllegalArgumentException
contextPath - the context path of the serviceservice - the name of the serviceaddress - the address of the endpoint as a URL
IllegalArgumentException - if an address cannot be derived from the inputs
public static W3CEndpointReference address(String contextPath,
String service,
URI address)
throws IllegalArgumentException
contextPath - the context path of the serviceservice - the name of the serviceaddress - the address of the endpoint as a URI
IllegalArgumentException - if an address cannot be derived from the inputs
public static W3CEndpointReference address(String contextPath,
String service,
String namespace,
String key,
String host,
int port)
throws IllegalArgumentException
contextPath - the context path of the serviceservice - the name of the servicenamespace - the namespace of the servicekey - the key of the instancehost - the host of the instanceport - the port of the instance
IllegalArgumentException - if an address cannot be derived from the inputs
public static W3CEndpointReference address(String contextPath,
String service,
String namespace,
String key,
URL address)
throws IllegalArgumentException
contextPath - the context path of the serviceservice - the name of the servicenamespace - the namespace of the servicekey - the key of the instanceaddress - the address of the endpoint as a URL.
IllegalArgumentException - if an address cannot be derived from the inputs
public static W3CEndpointReference address(String contextPath,
String service,
String namespace,
String key,
URI address)
throws IllegalArgumentException
contextPath - the context path of the serviceservice - the name of the servicenamespace - the namespace of the servicekey - the key of the instanceaddress - the address of the endpoint as a URI.
IllegalArgumentException - if an address cannot be derived from the inputs
public static Element key(String namespace,
String value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||