|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.j2ep.factories.RequestHandlerFactory
public class RequestHandlerFactory
A factory creating RequestHandlers. This factory is used to get the handler for each request, it has a list of methods it can handle and will throw a MethodNotAllowedException when it can't handle a method.
Constructor Summary | |
---|---|
RequestHandlerFactory()
|
Method Summary | |
---|---|
static RequestHandler |
createRequestMethod(java.lang.String method)
Selects one suitable RequestMethod from the HashMap. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RequestHandlerFactory()
Method Detail |
---|
public static RequestHandler createRequestMethod(java.lang.String method) throws MethodNotAllowedException
method
- The method of this request
MethodNotAllowedException
- If there is no RequestHandler available an exception will be thrown
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |