org.webbitserver.handler
Class PathMatchHandler
java.lang.Object
org.webbitserver.handler.PathMatchHandler
- All Implemented Interfaces:
- HttpHandler
public class PathMatchHandler
- extends Object
- implements HttpHandler
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PathMatchHandler
public PathMatchHandler(Pattern pathPattern,
HttpHandler httpHandler)
PathMatchHandler
public PathMatchHandler(String path,
HttpHandler httpHandler)
handleHttpRequest
public void handleHttpRequest(HttpRequest request,
HttpResponse response,
HttpControl control)
throws Exception
- Specified by:
handleHttpRequest in interface HttpHandler
- Throws:
Exception
Copyright © 2012. All Rights Reserved.