@Path(value="/poi")
@Produces(value={"application/xml","application/json","text/html","text/xml"})
public class SpreadsheetRestService
extends Object
| Constructor and Description |
|---|
SpreadsheetRestService() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
getPOIResult(String reportName,
int pageSize,
int pageIndex,
String sortBy,
boolean sortReverse,
String encoding,
javax.ws.rs.core.UriInfo uriInfo,
javax.servlet.http.HttpServletResponse servlerResponse)
Returns a excel file with the report data
|
@GET
@Produces(value="application/vnd.ms-excel")
@Path(value="report/{name}.xlsx")
public javax.ws.rs.core.Response getPOIResult(@PathParam(value="name")
String reportName,
@DefaultValue(value="1000") @QueryParam(value="pageSize")
int pageSize,
@DefaultValue(value="0") @QueryParam(value="pageIndex")
int pageIndex,
@QueryParam(value="sortBy")
String sortBy,
@QueryParam(value="sortReverse")
boolean sortReverse,
@DefaultValue(value="") @QueryParam(value="encoding")
String encoding,
@Context
javax.ws.rs.core.UriInfo uriInfo,
@Context
javax.servlet.http.HttpServletResponse servlerResponse)
name - reportname or uniqueid of reportCopyright © 2021 Imixs Software Solutions GmbH. All rights reserved.