Package org.pentaho.platform.web.servlet
Class PluggableUploadFileServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- org.pentaho.platform.web.servlet.PluggableUploadFileServlet
-
- All Implemented Interfaces:
Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
public class PluggableUploadFileServlet extends javax.servlet.http.HttpServlet implements javax.servlet.Servlet
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PluggableUploadFileServlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
String
getDispatchKey(javax.servlet.http.HttpServletRequest request)
Returns the dispatch key for this request.protected IUploadFileServletPlugin
getUploaderBean(String uploaderBeanId, javax.servlet.http.HttpServletResponse response)
-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service
-
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
-
-
-
-
Method Detail
-
doPost
protected void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
- Overrides:
doPost
in classjavax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
IOException
-
getUploaderBean
protected IUploadFileServletPlugin getUploaderBean(String uploaderBeanId, javax.servlet.http.HttpServletResponse response) throws org.pentaho.platform.api.engine.PluginBeanException, IOException
- Throws:
org.pentaho.platform.api.engine.PluginBeanException
IOException
-
getDispatchKey
public String getDispatchKey(javax.servlet.http.HttpServletRequest request)
Returns the dispatch key for this request. This name is the part of the request path beyond the servlet base path. I.e. if the PluggableUploadFileServlet is mapped to the "/upload" context in web.xml, then this method will return "testuploader" given a request to "http://localhost:8080/pentaho/upload/testuploader".- Returns:
- the part of the request url used to dispatch the request
-
-