Add a HttpHeaders.fromHttpHeaders(..) method #113
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.
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
The text was updated successfully, but these errors were encountered: