public class URLEndpoint extends Endpoint
Since 12.2.2
Modifier and Type | Class and Description |
---|---|
static class |
URLEndpoint.UrlType
Represents the type of the url endpoint.
|
Constructor and Description |
---|
URLEndpoint() |
Modifier and Type | Method and Description |
---|---|
String |
getUrl()
Return the URL string used for connection to a service or other
|
URLEndpoint.UrlType |
getUrlType()
Return the type of service url this endpoint represents
|
URLEndpoint |
setUrl(String url)
Set the URL string used for connection to a service or other
|
URLEndpoint |
setUrlType(URLEndpoint.UrlType urlType)
Set the type of service url this endpoint represents
|
String |
toCompactString()
Returns a compact string representation of the object in XML format.
|
String |
toJsonCompactString()
Returns a compact string representation of the object in JSON format.
|
String |
toJsonString()
Returns a string representation of the object in JSON format.
|
String |
toString()
Returns a string representation of the object in XML format.
|
String |
toXmlCompactString()
Returns a compact string representation of the object in XML format.
|
String |
toXmlString()
Returns a string representation of the object in XML format.
|
public String getUrl()
public URLEndpoint setUrl(String url)
url
- full string for connectionpublic URLEndpoint.UrlType getUrlType()
public URLEndpoint setUrlType(URLEndpoint.UrlType urlType)
urlType
- of the endpointpublic String toXmlCompactString()
public String toXmlString()
public String toJsonCompactString()
public String toJsonString()
public String toCompactString()