Skip to content

HttpMethod does not expose static method to get all values #439

@dzikoysk

Description

@dzikoysk

In the past, the HttpMethod was an enum that offered values() method. Currently the only way to get those values goes through a given value, like e.g. HttpMethod.GET.all() and that's quite strange. It looks like all() method in HttpMethod misses static keyword:

public Set<HttpMethod> all(){
    return new HashSet<>(REGISTRY.values());
}

Is it supposed to be like that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions