// Path: backend/src/main/java/org/haagensoftware/netty/webserver/util/Matcher.java
// public interface Matcher {
//     public boolean match(String uri);
// }


import org.apache.log4j.Logger;
import org.haagensoftware.netty.webserver.util.Matcher;
import org.jboss.netty.channel.*;
import org.jboss.netty.handler.codec.http.HttpRequest;
import org.jboss.netty.handler.execution.ExecutionHandler;
import org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor;
import java.util.LinkedHashMap;
import java.util.Map;
package no.haagensoftware.netty.webserver.handler;




public class RouterHandler extends SimpleChannelUpstreamHandler {
	private Logger logger = Logger.getLogger(RouterHandler.class.getName());
	
// Path: backend/src/main/java/org/haagensoftware/netty/webserver/util/Matcher.java
// public interface Matcher {
//     public boolean match(String uri);
// }


// Path: backend/src/main/java/no/haagensoftware/netty/webserver/handler/RouterHandler.java
import org.apache.log4j.Logger;
import org.haagensoftware.netty.webserver.util.Matcher;
import org.jboss.netty.channel.*;
import org.jboss.netty.handler.codec.http.HttpRequest;
import org.jboss.netty.handler.execution.ExecutionHandler;
import org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor;
import java.util.LinkedHashMap;
import java.util.Map;

package no.haagensoftware.netty.webserver.handler;




public class RouterHandler extends SimpleChannelUpstreamHandler {
	private Logger logger = Logger.getLogger(RouterHandler.class.getName());
	
    private Map<Matcher, ChannelHandler> routes = new LinkedHashMap<Matcher, ChannelHandler>();