com.atlassian.jira.admin.quicknav
Class WebFragmentsResource

java.lang.Object
  extended by com.atlassian.jira.admin.quicknav.WebFragmentsResource

public class WebFragmentsResource
extends Object

REST endpoint for providing meta-information about available web fragments.

Since:
v4.4

Nested Class Summary
static class WebFragmentsResource.WebFragmentLocation
           
static class WebFragmentsResource.WebItem
           
static class WebFragmentsResource.WebSection
           
 
Constructor Summary
WebFragmentsResource(SimpleLinkManager webManager, JiraAuthenticationContext authContext, SimpleLinkAliasProvider keywordsProvider)
           
 
Method Summary
 javax.ws.rs.core.Response getWebFragments(javax.servlet.http.HttpServletRequest request, String location, String section)
          Get web fragments for given location and section.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebFragmentsResource

public WebFragmentsResource(SimpleLinkManager webManager,
                            JiraAuthenticationContext authContext,
                            SimpleLinkAliasProvider keywordsProvider)
Method Detail

getWebFragments

public javax.ws.rs.core.Response getWebFragments(@Context
                                                 javax.servlet.http.HttpServletRequest request,
                                                 String location,
                                                 String section)
Get web fragments for given location and section.

Parameters:
request - web request
location - location to look in, must be specified
section - section to look in, may be null
Returns:
list of web fragments for given location


Copyright © 2002-2012 Atlassian. All Rights Reserved.