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, service
protected 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.HttpServlet
javax.servlet.ServletException
IOException
protected boolean checkAccess(String resourcePath)
protected void sendFile(File resource, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
javax.servlet.ServletException
IOException
Copyright © 2018 Nuxeo. All rights reserved.