org.mule.transport.servlet
Class JarResourceServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.mule.transport.servlet.JarResourceServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class JarResourceServlet
extends javax.servlet.http.HttpServlet

A servlet for loading resources loaded in jar files

See Also:
Serialized Form

Field Summary
static java.lang.String DEFAULT_BASE_PATH
           
static java.lang.String DEFAULT_MIME_TYPE
           
static java.lang.String DEFAULT_PATH_SPEC
           
 
Constructor Summary
JarResourceServlet()
           
 
Method Summary
protected  void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
           
 java.lang.String getBasepath()
           
 void setBasepath(java.lang.String basepath)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_PATH_SPEC

public static final java.lang.String DEFAULT_PATH_SPEC
See Also:
Constant Field Values

DEFAULT_BASE_PATH

public static final java.lang.String DEFAULT_BASE_PATH
See Also:
Constant Field Values

DEFAULT_MIME_TYPE

public static final java.lang.String DEFAULT_MIME_TYPE
See Also:
Constant Field Values
Constructor Detail

JarResourceServlet

public JarResourceServlet()
Method Detail

doGet

protected void doGet(javax.servlet.http.HttpServletRequest req,
                     javax.servlet.http.HttpServletResponse resp)
              throws javax.servlet.ServletException,
                     java.io.IOException
Overrides:
doGet in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
java.io.IOException

getBasepath

public java.lang.String getBasepath()

setBasepath

public void setBasepath(java.lang.String basepath)


Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.