com.atlassian.jira.util.velocity
Interface VelocityRequestContextFactory

All Known Implementing Classes:
DefaultVelocityRequestContextFactory

public interface VelocityRequestContextFactory

Provides a request context that can be used to get the 'correct' baseurl. It will use information from the HttpRequest if one was made or applicationProperties otherwise to determine the baseurl.

Since:
v4.0

Method Summary
 VelocityRequestContext getJiraVelocityRequestContext()
          Get the request context.
 

Method Detail

getJiraVelocityRequestContext

VelocityRequestContext getJiraVelocityRequestContext()
Get the request context.

Returns:
The request context


Copyright © 2002-2010 Atlassian. All Rights Reserved.