public class JarResourceServlet
extends javax.servlet.http.HttpServlet
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_BASE_PATH |
static String |
DEFAULT_MIME_TYPE |
static String |
DEFAULT_PATH_SPEC |
| Constructor and Description |
|---|
JarResourceServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
determineMimeType(String file) |
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected byte[] |
expandTemplates(byte[] buffer,
String mimetype) |
String |
getBasepath() |
protected String |
getFile(javax.servlet.http.HttpServletRequest request) |
void |
init() |
void |
setBasepath(String basepath) |
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, servicepublic static final String DEFAULT_PATH_SPEC
public static final String DEFAULT_BASE_PATH
public static final String DEFAULT_MIME_TYPE
public void init()
throws javax.servlet.ServletException
init in class javax.servlet.GenericServletjavax.servlet.ServletExceptionprotected void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
doGet in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionprotected String getFile(javax.servlet.http.HttpServletRequest request)
protected byte[] expandTemplates(byte[] buffer,
String mimetype)
public String getBasepath()
public void setBasepath(String basepath)
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.