Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(451)

Issue 6464066: Allow escaping algorithm to be specified in GenericUrl

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 9 months ago by rmistry
Modified:
11 years, 4 months ago
Reviewers:
yanivi
Base URL:
https://google-http-java-client.googlecode.com/hg/
Visibility:
Public.

Description

Created to fix http://code.google.com/p/google-http-java-client/issues/detail?id=26 : Allow GenericUrl.build() to be overridden.

Patch Set 1 #

Patch Set 2 : Minor fix #

Total comments: 2

Messages

Total messages: 4
rmistry
11 years, 9 months ago (2012-08-15 15:28:41 UTC) #1
yanivi
I vote for delaying this to 1.12.
11 years, 9 months ago (2012-08-20 13:11:34 UTC) #2
rmistry
On 2012/08/20 13:11:34, yanivi wrote: > I vote for delaying this to 1.12. Done.
11 years, 9 months ago (2012-08-20 13:18:55 UTC) #3
yanivi
11 years, 4 months ago (2013-01-22 16:20:42 UTC) #4
I think we should defer this to 2.1.

https://codereview.appspot.com/6464066/diff/2001/google-http-client/src/main/...
File
google-http-client/src/main/java/com/google/api/client/http/GenericUrlEscaper.java
(right):

https://codereview.appspot.com/6464066/diff/2001/google-http-client/src/main/...
google-http-client/src/main/java/com/google/api/client/http/GenericUrlEscaper.java:24:
public interface GenericUrlEscaper {
[optional] what do you think of making this interface nested inside GenericUrl
since it is only meaningful in that context

https://codereview.appspot.com/6464066/diff/2001/google-http-client/src/main/...
google-http-client/src/main/java/com/google/api/client/http/GenericUrlEscaper.java:36:
public String decodeUri(String uri);
I don't think it makes sense to provide a way to decode a URI since our decoding
algorithm should be correct.  I think it is only the encoding that we want to
allow to be customized.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b