|
|||||||||
| 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
com.buglabs.bug.event.EventServlet
public class EventServlet
| Constructor Summary | |
|---|---|
EventServlet(java.util.Map eventMap)
|
|
| Method Summary | |
|---|---|
protected void |
doPut(HttpServletRequest req,
HttpServletResponse resp)
Called by the server (via the service method) to allow a
servlet to handle a PUT request. |
| Methods inherited from class javax.servlet.http.HttpServlet |
|---|
doDelete, doGet, doHead, doOptions, doPost, 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 |
| Constructor Detail |
|---|
public EventServlet(java.util.Map eventMap)
| Method Detail |
|---|
protected void doPut(HttpServletRequest req,
HttpServletResponse resp)
throws ServletException,
java.io.IOException
HttpServletservice method) to allow a
servlet to handle a PUT request.
The PUT operation allows a client to place a file on the server and is
similar to sending a file by FTP.
When overriding this method, leave intact any content headers sent with the request (including Content-Length, Content-Type, Content-Transfer-Encoding, Content-Encoding, Content-Base, Content-Language, Content-Location, Content-MD5, and Content-Range). If your method cannot handle a content header, it must issue an error message (HTTP 501 - Not Implemented) and discard the request. For more information on HTTP 1.1, see RFC 2068 .
This method does not need to be either safe or idempotent. Operations
that doPut performs can have side effects for which the user
can be held accountable. When using this method, it may be useful to save
a copy of the affected URL in temporary storage.
If the HTTP PUT request is incorrectly formatted, doPut
returns an HTTP "Bad Request" message.
doPut in class HttpServletreq - the HttpServletRequest object that contains the
request the client made of the servletresp - the HttpServletResponse object that contains the
response the servlet returns to the client
ServletException - if the request for the PUT cannot be handled
java.io.IOException - if an input or output error occurs while the servlet is
handling the PUT request
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||