public class DefaultJiraPageBuilderService extends com.atlassian.plugin.webresource.assembler.DefaultPageBuilderService implements JiraPageBuilderService, PageBuilderServiceSpi
TODO: this will be merged with its superclass once the PageBuilder interface has been tested in JIRA
SEND_HEAD_EARLY_FOR_DASHBOARD_DISABLE_FEATURE_KEY
Constructor and Description |
---|
DefaultJiraPageBuilderService(ApplicationProperties applicationProperties,
com.atlassian.plugin.webresource.WebResourceIntegration webResourceIntegration,
com.atlassian.plugin.webresource.prebake.PrebakeWebResourceAssemblerFactory webResourceAssemblerFactory,
FeatureManager featureManager,
ServerMetricsDetailCollector serverMetricsDetailCollector) |
Modifier and Type | Method and Description |
---|---|
void |
clearForRequest()
Clears the page builder for the current request.
|
PageBuilder |
get()
Gets the page builder for the current request
|
PageBuilderSpi |
getSpi()
Returns the page builder spi for the current request
|
void |
initForRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
DecoratorListener decoratorListener,
javax.servlet.ServletContext servletContext)
Creates a new page builder for the current request.
|
assembler, clearRequestLocal, seed
public DefaultJiraPageBuilderService(ApplicationProperties applicationProperties, com.atlassian.plugin.webresource.WebResourceIntegration webResourceIntegration, com.atlassian.plugin.webresource.prebake.PrebakeWebResourceAssemblerFactory webResourceAssemblerFactory, FeatureManager featureManager, ServerMetricsDetailCollector serverMetricsDetailCollector)
public void initForRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, DecoratorListener decoratorListener, javax.servlet.ServletContext servletContext)
PageBuilderServiceSpi
initForRequest
in interface PageBuilderServiceSpi
request
- http requestresponse
- http responsedecoratorListener
- decorator listenerservletContext
- servlet contextpublic void clearForRequest()
PageBuilderServiceSpi
clearForRequest
in interface PageBuilderServiceSpi
public PageBuilder get()
JiraPageBuilderService
get
in interface JiraPageBuilderService
public PageBuilderSpi getSpi()
PageBuilderServiceSpi
getSpi
in interface PageBuilderServiceSpi
Copyright © 2002-2019 Atlassian. All Rights Reserved.