org.pentaho.platform.web.servlet
Class PluggableUploadFileServlet

java.lang.Object
  extended by HttpServlet
      extended by org.pentaho.platform.web.servlet.PluggableUploadFileServlet

public class PluggableUploadFileServlet
extends HttpServlet

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

Author:
aphillips

Constructor Summary
PluggableUploadFileServlet()
           
 
Method Summary
 String getDispatchKey(HttpServletRequest request)
          Returns the dispatch key for this request.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluggableUploadFileServlet

public PluggableUploadFileServlet()
Method Detail

getDispatchKey

public String getDispatchKey(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