com.atlassian.jira.web.pagebuilder
Interface PageBuilder

All Known Implementing Classes:
DefaultPageBuilder

public interface PageBuilder

Interface for working with decoration when rendering an HTML page.

Since:
v6.1

Method Summary
 void flush()
          Flushes as much information as possible to the current HTTP response.
 void setDecorator(Decorator decorator)
          Sets the decorated page.
 

Method Detail

setDecorator

void setDecorator(Decorator decorator)
Sets the decorated page. This can be called any number of times before the first call to flush.

Parameters:
decorator - Decorator for the current request.
Throws:
IllegalStateException - if the page has already been flushed

flush

void flush()
Flushes as much information as possible to the current HTTP response. This may be called multiple times in a single request.

Throws:
IllegalStateException - if the page has not been flushed


Copyright © 2002-2014 Atlassian. All Rights Reserved.