Skip to content

Add Context.forward #1637

@jknack

Description

@jknack

Allow to execute another route by forwarding the request (reroute)

{
     get("/foo",  ctx -> {
         return ctx.forward("/bar");
     });

    get("/bar", ctx -> {
       return "bar";
    });
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions