Skip to content

Runtime endpoint route uris resolving #1098

@renatorroliveira

Description

@renatorroliveira

I was digging into the VRaptor code and I was unable to figure out a way to define the controller's endpoints paths (URI's from the @Path/@Get/@post annotations) at runtime.
In some situations this can be very useful.
I was trying to isolate some common controllers as libraries, but the URI's of those controllers methods must be defined as static strings that must be compilation time resolvable.
Am I missing something here? It is already possible to do that?

I can think of some other situations that this can be useful, like dynamic generation of URI's in multi instance system, some API publication patterns and others.

Do you think this is an interesting feature for VRaptor? If so, I can propose an implementation of this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions