public final class TicketsExportUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ERROR_NOTHING_TO_EXPORT |
Modifier and Type | Method and Description |
---|---|
static void |
addHeaderResponse(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String strFileName,
String strFileExtension)
Writes the http header in the response
|
public static final String ERROR_NOTHING_TO_EXPORT
public static void addHeaderResponse(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String strFileName, String strFileExtension)
request
- the httpServletRequestresponse
- the http responsestrFileName
- the name of the file who must insert in the responsestrFileExtension
- the file extensionCopyright © 2020 City of Paris. All rights reserved.