|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.crowd.plugin.rest.util.ApplicationLinkUriHelper
public class ApplicationLinkUriHelper
Helper for creating links and URIs.
Field Summary | |
---|---|
static String |
DIRECTORY_MAPPINGS_PATH_PARAM
|
static String |
PASSWORD_PATH_PARAM
|
static String |
REMOTE_ADDRESS_QUERY_PARAM
|
static String |
REMOTE_ADDRESSES_PATH_PARAM
|
Method Summary | |
---|---|
static com.atlassian.plugins.rest.common.Link |
buildApplicationLink(URI baseUri,
Long applicationId)
Returns the Link to the Application resource. |
static URI |
buildApplicationsUri(URI baseUri)
Returns the URI to the list of all Applications resource. |
static URI |
buildApplicationUri(URI baseUri,
Long applicationId)
Returns the URI to the Application resource. |
static URI |
buildDirectoryMappingsUri(URI applicationUri)
Returns the URI to the Application directory mappings resource. |
static URI |
buildDirectoryMappingUri(URI directoryMappingsUri,
long directoryId)
Returns the URI to the Application directory mapping resource. |
static URI |
buildPasswordUri(URI applicationUri)
Returns the URI to the application password resource. |
static URI |
buildRemoteAddressesUri(URI applicationUri)
Returns the URI to the Application Remote Addresses resource. |
static URI |
buildRemoteAddressUri(URI baseUri,
long applicationId,
String remoteAddress)
Returns the URI to the Application Remote Address resource. |
static URI |
buildRemoteAddressUri(URI remoteAddressesUri,
String remoteAddress)
Returns the URI to the Application Remote Address resource. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String REMOTE_ADDRESS_QUERY_PARAM
public static final String REMOTE_ADDRESSES_PATH_PARAM
public static final String DIRECTORY_MAPPINGS_PATH_PARAM
public static final String PASSWORD_PATH_PARAM
Method Detail |
---|
public static com.atlassian.plugins.rest.common.Link buildApplicationLink(URI baseUri, Long applicationId)
baseUri
- base URI of the REST serviceapplicationId
- application ID
public static URI buildApplicationUri(URI baseUri, Long applicationId)
baseUri
- base URI of the REST serviceapplicationId
- Application ID
public static URI buildApplicationsUri(URI baseUri)
baseUri
- base URI of the REST service
public static URI buildRemoteAddressesUri(URI applicationUri)
applicationUri
- URI of the application resource
public static URI buildRemoteAddressUri(URI remoteAddressesUri, String remoteAddress)
remoteAddressesUri
- URI of the application remote addresses resourceremoteAddress
- the remote address to reference
public static URI buildRemoteAddressUri(URI baseUri, long applicationId, String remoteAddress)
baseUri
- base URI REST serviceapplicationId
- ID of the applicationremoteAddress
- the remote address to reference
public static URI buildDirectoryMappingsUri(URI applicationUri)
applicationUri
- URI to the application resource
public static URI buildDirectoryMappingUri(URI directoryMappingsUri, long directoryId)
directoryMappingsUri
- URI to the directory mappings resourcedirectoryId
- ID of the mapped directory
public static URI buildPasswordUri(URI applicationUri)
applicationUri
- URI to the application
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |