org.pentaho.platform.web.servlet
Class PluggableUploadFileServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by 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

Converses with IUploadFileServletPlugin to upload solution files. Plugins implement an IUploadFileServletPlugin and declare it (e.g. in the plugin.xml)

Author:
aphillips
See Also:
Serialized Form

Constructor Summary
PluggableUploadFileServlet()
           
 
Method Summary
 String getDispatchKey(javax.servlet.http.HttpServletRequest request)
          Returns the dispatch key for this request.
 
Methods inherited from class javax.servlet.http.HttpServlet
service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.Servlet
destroy, getServletConfig, getServletInfo, init, service
 

Constructor Detail

PluggableUploadFileServlet

public PluggableUploadFileServlet()
Method Detail

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