Skip to content

Possible to have an URL builder? #92

Description

@bronson

Right now my app receives the Matrix server as a URI..

https://example.com:8999

which I then parse and pass to your builder...

MatrixResources.factory()
                        .builder()
                        .https(uri.is_https)
                        .hostname(uri.hostname)
                        .port(uri.port)

which then reassembles it into a URI!

public MatrixUri createUri(boolean https, Integer port, String... pathSegments) {

Is there any chance I could just pass the URI to the builder?

Thanks!

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