public class Data2CSV
extends javax.servlet.http.HttpServlet
| Constructor and Description |
|---|
Data2CSV() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles the HTTP
GET method. |
protected void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles the HTTP
POST method. |
List |
getData(nl.b3p.zoeker.configuratie.Bron b,
Gegevensbron gb,
String[] pks,
String[] propertyNames,
String appCode) |
String |
getServletInfo()
Returns a short description of the servlet.
|
String[] |
getThemaLabelNames(Gegevensbron gb) |
String[] |
getThemaPropertyNames(Gegevensbron gb) |
protected void |
processRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Processes requests for both HTTP
GET and POST methods. |
protected void |
writeErrorMessage(javax.servlet.http.HttpServletResponse response,
String message)
Writes a error message to the response
|
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, serviceprotected void processRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
GET and POST methods.request - servlet requestresponse - servlet responsejavax.servlet.ServletExceptionIOExceptionpublic String[] getThemaPropertyNames(Gegevensbron gb)
public String[] getThemaLabelNames(Gegevensbron gb)
public List getData(nl.b3p.zoeker.configuratie.Bron b, Gegevensbron gb, String[] pks, String[] propertyNames, String appCode) throws IOException, Exception
IOExceptionExceptionprotected void writeErrorMessage(javax.servlet.http.HttpServletResponse response,
String message)
throws IOException
IOExceptionprotected void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
GET method.doGet in class javax.servlet.http.HttpServletrequest - servlet requestresponse - servlet responsejavax.servlet.ServletExceptionIOExceptionprotected void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
POST method.doPost in class javax.servlet.http.HttpServletrequest - servlet requestresponse - servlet responsejavax.servlet.ServletExceptionIOExceptionpublic String getServletInfo()
getServletInfo in interface javax.servlet.ServletgetServletInfo in class javax.servlet.GenericServletCopyright © 2016. All rights reserved.