Skip to content

Parameter matching does not recognise primitives #39

@grover-ws-2

Description

@grover-ws-2

Given the following annotated method:

    @GET
    @Path("/mystuff/{id}")
    public Response doMyStuff(@PathParam("id") int id) {
        ...
    }

.. a call to /mystuff/1 will not match successfully. Changing the int id to Integer id causes the method to match, but is very unobvious. I assume that is also the case with the other Parameter types (Header etc..)

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