|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.j2ep.factories.ResponseHandlerFactory
public class ResponseHandlerFactory
A factory creating ResponseHandlers. 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 | |
|---|---|
ResponseHandlerFactory()
|
|
| Method Summary | |
|---|---|
static ResponseHandler |
createResponseHandler(org.apache.commons.httpclient.HttpMethod method)
Checks the method being received and created a suitable ResponseHandler for this method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResponseHandlerFactory()
| Method Detail |
|---|
public static ResponseHandler createResponseHandler(org.apache.commons.httpclient.HttpMethod method)
throws MethodNotAllowedException
method - Method to handle
MethodNotAllowedException - If no method could be choose this exception is thrown
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||