private static Method lookup( String method, String url ) {
    String s = method+url;
    for( String x : _handlers.keySet() )
      if( x.equals(s) )         // TODO: regex
        return _handlers.get(x);
    return null;
  }
private static Method lookup ( String method , String url ) { String s = method + url ; for ( String x : _handlers . keySet ( ) ) if ( x . equals ( s ) ) return _handlers . get ( x ) ; return null ; }
Lookup the method/url in the register list, and return a matching Method