Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove deprecated Api #264

Merged
merged 1 commit into from
Jan 7, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -88,38 +88,6 @@ public SenderConfigurationBuilder httpPoster(HttpPoster httpPoster) {
return this;
}

/**
* Configure the endpoint for data to be sent to. The default path will be used.
*
* <p>To be removed in 0.8.0
*
* @param scheme A valid URL scheme, such as "https"
* @param host The host portion of the URL.
* @param port The port portion of the URL.
* @return this builder.
* @throws MalformedURLException If a valid URL cannot be constructed from the pieces provided.
* @deprecated call the simpler endpoint(URL) method with the full URL instead
*/
@Deprecated
public SenderConfigurationBuilder endpoint(String scheme, String host, int port)
throws MalformedURLException {
return endpointWithPath(new URL(scheme, host, port, basePath));
}

/**
* Configure the *full* endpoint URL for data to be sent to, including the path.
*
* <p>To be removed in 0.8.0
*
* @deprecated call the simpler endpoint() method instead
* @param endpointUrl A full {@link URL}, including the path.
* @return this builder.
*/
@Deprecated
public SenderConfigurationBuilder endpointWithPath(URL endpointUrl) {
return endpoint(endpointUrl);
}

/**
* Configure the *full* endpoint URL for data to be sent to, including the path. You should only
* use this method if you wish to modify the default behavior, which is to send data to the
Expand Down