Skip to content

Provide http(s) default port method #347

Open
@meistermeier

Description

@meistermeier

It feels like a magic number to use 80 or 443 in the UriConfigurer#withPort method to suppress the port output given the right scheme.

There should be a method to set this magic number without user getting to see or having to use it like withHttpPort or withHttpsPort.

I know it is a small change but I think the right way is to discuss it before opening a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: enhancementEnhancement that adds a new feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions