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

Add a HttpHeaders.fromHttpHeaders(..) method #113

Closed
wonderfly opened this issue Jan 9, 2015 · 1 comment
Closed

Add a HttpHeaders.fromHttpHeaders(..) method #113

wonderfly opened this issue Jan 9, 2015 · 1 comment
Assignees
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@wonderfly
Copy link
Contributor

From mlin...@google.com on May 15, 2012 08:52:02

It would be helpful if one can create a custom headers class (e.g. GoogleHeaders) and use an existing HttpHeaders instance to fill in all fields.

Example:

GoogleHeaders gh = new GoogleHeaders();
gh.fromHttpHeaders(response.getHeaders());
long myValue = gh.getMyCustomHeader();

Original issue: http://code.google.com/p/google-http-java-client/issues/detail?id=113

@wonderfly wonderfly added type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. imported priority: p2 Moderately-important priority. Fix may not be included in next release. labels Jan 9, 2015
@wonderfly wonderfly self-assigned this Jan 9, 2015
@wonderfly
Copy link
Contributor Author

From mlin...@google.com on May 25, 2012 12:47:56

Submitted in 1993e3e4a03e

Status: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

1 participant