Skip to content

Got 404 when run your sample code. #7

@urstar

Description

@urstar

I tested with browser and curl, both returned 404 code.
And i checked in RouteMatcher, near
final HttpRequestHandler handler = routes.get(new PatternBinding(method, path));

and i got a null hadler.
then the prefixRoutes is empty. nothing in it.
so
noMatch.handle(request);
return the '404' (not found)

i guess there is something wrong in your sample code? or did i make something wrong?
help me please.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions