|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
fr.paris.lutece.plugins.document.web.DocumentResourceServlet
public class DocumentResourceServlet
Servlet serving document file resources
| Constructor Summary | |
|---|---|
DocumentResourceServlet()
|
|
| Method Summary | |
|---|---|
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles the HTTP GET method. |
protected void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles the HTTP POST method. |
long |
getLastModified(javax.servlet.http.HttpServletRequest request)
Processes request HTTP GET if-modified-since methods |
String |
getServletInfo()
Returns a short description of the servlet. |
void |
processDocumentEvent(DocumentEvent event)
Process a document event |
protected void |
processRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Processes requests for both HTTP GET and POST methods. |
static void |
putInCache(int nDocumentId,
int nAttributeId)
Put the file in cache |
| Methods inherited from class javax.servlet.http.HttpServlet |
|---|
doDelete, doHead, doOptions, doPut, doTrace, service, service |
| Methods inherited from class javax.servlet.GenericServlet |
|---|
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, init, log, log |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DocumentResourceServlet()
| Method Detail |
|---|
public long getLastModified(javax.servlet.http.HttpServletRequest request)
GET if-modified-since methods
getLastModified in class javax.servlet.http.HttpServletrequest - The HTTP request
public static void putInCache(int nDocumentId,
int nAttributeId)
nDocumentId - The document idnAttributeId - The attribut id
protected void processRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
GET and POST methods.
request - servlet requestresponse - servlet response
javax.servlet.ServletException - the servlet Exception
IOException - the io exception
protected void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
GET method.
doGet in class javax.servlet.http.HttpServletrequest - servlet requestresponse - servlet response
javax.servlet.ServletException - the servlet Exception
IOException - the io exception
protected void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
POST method.
doPost in class javax.servlet.http.HttpServletrequest - servlet requestresponse - servlet response
javax.servlet.ServletException - the servlet Exception
IOException - the io exceptionpublic String getServletInfo()
getServletInfo in interface javax.servlet.ServletgetServletInfo in class javax.servlet.GenericServlet
public void processDocumentEvent(DocumentEvent event)
throws DocumentException
processDocumentEvent in interface DocumentEventListenerevent - The event to process
DocumentException - raise when error occurs in event or rule
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||