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