public class ApplicationLinkUriHelper extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DIRECTORY_MAPPINGS_PATH_PARAM |
static String |
PASSWORD_PATH_PARAM |
static String |
REMOTE_ADDRESS_QUERY_PARAM |
static String |
REMOTE_ADDRESSES_PATH_PARAM |
Modifier and Type | Method and Description |
---|---|
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.
|
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
public static com.atlassian.plugins.rest.common.Link buildApplicationLink(URI baseUri, Long applicationId)
baseUri
- base URI of the REST serviceapplicationId
- application IDpublic static URI buildApplicationUri(URI baseUri, Long applicationId)
baseUri
- base URI of the REST serviceapplicationId
- Application IDpublic static URI buildApplicationsUri(URI baseUri)
baseUri
- base URI of the REST servicepublic static URI buildRemoteAddressesUri(URI applicationUri)
applicationUri
- URI of the application resourcepublic static URI buildRemoteAddressUri(URI remoteAddressesUri, String remoteAddress)
remoteAddressesUri
- URI of the application remote addresses resourceremoteAddress
- the remote address to referencepublic static URI buildRemoteAddressUri(URI baseUri, long applicationId, String remoteAddress)
baseUri
- base URI REST serviceapplicationId
- ID of the applicationremoteAddress
- the remote address to referencepublic static URI buildDirectoryMappingsUri(URI applicationUri)
applicationUri
- URI to the application resourcepublic static URI buildDirectoryMappingUri(URI directoryMappingsUri, long directoryId)
directoryMappingsUri
- URI to the directory mappings resourcedirectoryId
- ID of the mapped directoryCopyright © 2021 Atlassian. All rights reserved.