palantir / dialogue

A client-side RPC library for conjure-java
Apache License 2.0
29 stars 13 forks source link

Create a builder interface for Endpoint #581

Open gatesn opened 4 years ago

iamdanfox commented 4 years ago

I think the only reason it isn't already a public final type is because there's a bit of behaviour in the renderPath method

        @Override
        public void renderPath(Map<String, String> params, UrlBuilder url) {
            pathTemplate.fill(params, url);
        }