POST がローカル開発サーバーで機能するように、Google Cloud Endpoints クラスの GZipContent を無効にしたいと考えています。
最新の GPE リリースでは、次のエンドポイント ビルダーが生成されます。
public static final class Builder extends AbstractGoogleJsonClient.Builder {
public Builder(HttpTransport transport, JsonFactory jsonFactory,
HttpRequestInitializer httpRequestInitializer) {
super(
transport,
jsonFactory,
...);
}
Google のドキュメントでは、次のように使用することを推奨しています。
Myendpoint.Builder endpointBuilder = new Myendpoint.Builder(
AndroidHttp.newCompatibleTransport(),
new GsonFactory(),
credential);
エンドポイントの GZipContent を無効にする方法を知っている人はいますか?
ありがとう。