public class SearchRequestXMLView extends AbstractSearchRequestView
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_DESCRIPTION |
descriptor
Constructor and Description |
---|
SearchRequestXMLView(JiraAuthenticationContext authenticationContext,
ApplicationProperties applicationProperties,
SearchRequestViewBodyWriterUtil searchRequestViewBodyWriterUtil,
BuildUtilsInfo buildUtilsInfo) |
Modifier and Type | Method and Description |
---|---|
String |
getFooter() |
String |
getHeader(SearchRequest searchRequest,
SearchRequestParams searchRequestParams) |
void |
writeSearchResults(SearchRequest searchRequest,
SearchRequestParams searchRequestParams,
Writer writer)
Responsible for writing out the searchResults including Headers and Footers of the implementing view type.
|
init, writeHeaders, writeHeaders
public static final String DEFAULT_DESCRIPTION
public SearchRequestXMLView(JiraAuthenticationContext authenticationContext, ApplicationProperties applicationProperties, SearchRequestViewBodyWriterUtil searchRequestViewBodyWriterUtil, BuildUtilsInfo buildUtilsInfo)
public void writeSearchResults(SearchRequest searchRequest, SearchRequestParams searchRequestParams, Writer writer)
SearchRequestView
writeSearchResults
in interface SearchRequestView
writeSearchResults
in class AbstractSearchRequestView
searchRequest
- the original search request submitted by the usersearchRequestParams
- stores a shallow copy of the session and a pagerfilter to determine how many results to displaywriter
- The writer used to stream the response.public String getHeader(SearchRequest searchRequest, SearchRequestParams searchRequestParams)
public String getFooter()
Copyright © 2002-2021 Atlassian. All Rights Reserved.