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

java.lang.Object
  extended by com.atlassian.jira.rest.v2.issue.VelocityRequestContextFactories

public class VelocityRequestContextFactories
extends Object

Helper methods for working with VelocityRequestContextFactory instances.

Since:
v4.2

Method Summary
static URI getBaseURI(VelocityRequestContextFactory velocityRequestContextFactory)
          Returns the request's canonical base URL as a URI instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getBaseURI

public static URI getBaseURI(VelocityRequestContextFactory velocityRequestContextFactory)
Returns the request's canonical base URL as a URI instance. This corresponds to JIRA's base URI.

Parameters:
velocityRequestContextFactory - the current VelocityRequestContextFactory
Returns:
a URI


Copyright © 2002-2012 Atlassian. All Rights Reserved.