com.atlassian.jira.rest.v2.issue
Class ResourceUriBuilder
java.lang.Object
com.atlassian.jira.rest.v2.issue.ResourceUriBuilder
public class ResourceUriBuilder
- extends Object
This class is used for building URI's for JIRA's REST resources.
- Since:
- v4.2
Method Summary |
URI |
build(javax.ws.rs.core.UriBuilder builder,
Class<?> resourceClass,
String resourceKey)
|
URI |
build(javax.ws.rs.core.UriInfo context,
Class<?> resourceClass,
String resourceKey)
Creates a new URI for the given resource class and keys, using the provided UriInfo. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceUriBuilder
public ResourceUriBuilder()
build
public URI build(javax.ws.rs.core.UriInfo context,
Class<?> resourceClass,
String resourceKey)
- Creates a new URI for the given resource class and keys, using the provided UriInfo.
- Parameters:
context
- a UriInforesourceClass
- the resource classresourceKey
- the resource key
- Returns:
- a URI
build
public URI build(javax.ws.rs.core.UriBuilder builder,
Class<?> resourceClass,
String resourceKey)
Copyright © 2002-2012 Atlassian. All Rights Reserved.