|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.j2ep.requesthandlers.RequestHandlerBase
net.sf.j2ep.requesthandlers.BasicRequestHandler
public class BasicRequestHandler
A handler for GET, HEAD, DELETE. Since these methods basically only will need the headers set they can be handled by the same handler.
Constructor Summary | |
---|---|
BasicRequestHandler()
|
Method Summary | |
---|---|
org.apache.commons.httpclient.HttpMethod |
process(HttpServletRequest request,
java.lang.String url)
Will only set the headers. |
Methods inherited from class net.sf.j2ep.requesthandlers.RequestHandlerBase |
---|
addBannedHeader, addBannedHeaders, setHeaders |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasicRequestHandler()
Method Detail |
---|
public org.apache.commons.httpclient.HttpMethod process(HttpServletRequest request, java.lang.String url) throws org.apache.commons.httpclient.HttpException
process
in interface RequestHandler
process
in class RequestHandlerBase
request
- The request we are processingurl
- URL to bind the method to
org.apache.commons.httpclient.HttpException
net.sf.j2ep.model.RequestHandler#process(javax.servlet.http.HttpServletRequest, java.lang.String)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |