Skip navigation links

Oracle Communications Converged Application Server Java API Reference
5.1

E36938-01


com.oracle.sft.xcap.client
Interface XcapRoot


public interface XcapRoot

Encapsulates the XCAP root part of the request URI. The XCAP root contains the information necessary to connect to the XCAP server. An example: https://www.zero-xdm.com:8080/services. The generic form is <protocol>://<host>:<port>[/<path>].


Method Summary
 String getHost()
          Get host of the Xcap root.
 String getPath()
          Get path of the Xcap root.
 int getPort()
          Get port number of the Xcap root.
 String getProtocol()
          Provides the protocol part of the Xcap Root.
 boolean isSecure()
          Indicates whether Transport Layer Security (TLS) is used.

 

Method Detail

getProtocol

String getProtocol()
Provides the protocol part of the Xcap Root.
Returns:
http or https.

getHost

String getHost()
Get host of the Xcap root.
Returns:
The Host part of the XCAP Root.

getPort

int getPort()
Get port number of the Xcap root.
Returns:
The port number. -1 if port is not set.

getPath

String getPath()
Get path of the Xcap root.
Returns:
The root path (optional). In case the path is not set, empty string is returned.

isSecure

boolean isSecure()
Indicates whether Transport Layer Security (TLS) is used.
Returns:
true in case the protocol is https. Else false is returned.

Skip navigation links

Oracle Communications Converged Application Server Java API Reference
5.1

E36938-01


Copyright © 2012 Oracle Corporation. All Rights Reserved.