com.atlassian.jira.rest.v2.issue
Class ResourceUriBuilder

java.lang.Object
  extended by 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

Constructor Summary
ResourceUriBuilder()
           
 
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
 

Constructor Detail

ResourceUriBuilder

public ResourceUriBuilder()
Method Detail

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 UriInfo
resourceClass - the resource class
resourceKey - 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.