public class JettyResourceServlet extends javax.servlet.http.HttpServlet
| Modifier and Type | Field and Description |
|---|---|
protected static int |
BUFFER_SIZE |
| Constructor and Description |
|---|
JettyResourceServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkAccess(String resourcePath) |
protected void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
protected void |
sendFile(File resource,
javax.servlet.http.HttpServletResponse resp) |
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, serviceprotected static final int BUFFER_SIZE
public JettyResourceServlet()
protected void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
doGet in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionprotected boolean checkAccess(String resourcePath)
protected void sendFile(File resource, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
javax.servlet.ServletExceptionIOExceptionCopyright © 2016 Nuxeo SA. All rights reserved.