Add methods setRootUrl and setServicePath to JsonHttpClient.Builder #97
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 yan...@google.com on May 03, 2012 05:45:41
External references, such as a standards document, or specification? http://javadoc.google-http-java-client.googlecode.com/hg/1.8.3-beta/com/google/api/client/http/json/JsonHttpClient.Builder.html#setBaseUrl(com.google.api.client.http.GenericUrl) Java environments (e.g. Java 6, Android 2.3, App Engine, or All)? All Please describe the feature requested. JsonHttpClient.Builder has a setBaseUrl which is a nice general-purpose way to set the base URL of the API. This is often used for testing an API locally before publishing it. It would be convenient to be able to do for example:
setBaseServer("localhost:8888") or
setBaseServer("test.example.com")
The idea is that this will change only the server host and port of the base URL but keep the rest the same.
Original issue: http://code.google.com/p/google-http-java-client/issues/detail?id=97
The text was updated successfully, but these errors were encountered: