Skip to content

Conversation

SentryMan
Copy link
Collaborator

@SentryMan SentryMan commented Oct 18, 2023

now if we do something like:

  @Override
  public Titan titanfall() {
    return client.request()
      .path("https://something.com").path(DROP_POINT)
      .GET()
      .bean(Titan.class);
  }

the base URL will be switched to https://something.com.

  • path will reset the URL buffer if an HTTP scheme is detected in the given string

@SentryMan SentryMan added the enhancement New feature or request label Oct 18, 2023
@SentryMan SentryMan added this to the 2.0 milestone Oct 18, 2023
@SentryMan SentryMan requested a review from rbygrave October 18, 2023 13:11
@SentryMan SentryMan self-assigned this Oct 18, 2023
@rbygrave rbygrave merged commit 1ac29fe into avaje:master Oct 19, 2023
@SentryMan SentryMan deleted the path branch October 19, 2023 03:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants