Skip to content

Conversation

@xiaodongliang
Copy link

the most change is : retried the way to define endpoint by web.xml, use urlPatterns of WebServlet now

retried the way to define endpoint by web.xml, use urlPatterns of WebServlet now
@petrbroz petrbroz changed the base branch from master to java July 28, 2021 07:58
@petrbroz
Copy link
Collaborator

Hi guys, the very first thing I noticed here is that the PR was trying to merge the changes into master. I changed the target branch to java but let me know if you had something else in mind with this PR.

BucketsApi bucketsApi = new BucketsApi();

ApiResponse<Buckets> buckets = bucketsApi.getBuckets("us", 100, null, forgeOAuth,
ApiResponse<Buckets> buckets = bucketsApi.getBuckets("us", 100, "abc", forgeOAuth,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does the "abc" parameter mean here? According to the docs, the 3rd param is:

Key to use as an offset to continue pagination This is typically the last bucket key found in a preceding GET buckets response

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, it is an error, need to be fixed

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This issue is from the original version of JAVA tutorial. done. fixed.

Copy link
Collaborator

@petrbroz petrbroz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apart from the "abc" thing the code looks good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants