You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
AndroidEnterpriseClient doesn't work with HttpClient instance obtained from HttpClients.customs method #364
🚨This issue needs some love.priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
CloseableHttpClient closeableHttpClient = HttpClients.custom()...build();
ApacheHttpTransport apacheHttpTransport = new ApacheHttpTransport(closeableHttpClient);
AndroidEnterprise enterpriseClient = new AndroidEnterprise.Builder(apacheHttpTransport, ...);
AndroidEnterprise.Products.List listProducts = enterpriseClient.products().list(enterpriseId);
The above piece of code throws the following exception.
java.lang.UnsupportedOperationException
at org.apache.http.impl.client.InternalHttpClient.getParams(InternalHttpClient.java:210)
at com.google.api.client.http.apache.ApacheHttpTransport.(ApacheHttpTransport.java:129)
changed the title [-]AndroidEnterprise.Builder doesn't work with HttpClient instance obtained from HttpClients.customs method[/-][+]AndroidEnterpriseClient doesn't work with HttpClient instance obtained from HttpClients.customs method[/+]on Jul 24, 2017
Is there any traffic on this issue? It's been open about a year and it's still a problem in the core google http api using version 1.23.0 from Maven for Java.
🚨This issue needs some love.priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
Activity
[-]AndroidEnterprise.Builder doesn't work with HttpClient instance obtained from HttpClients.customs method[/-][+]AndroidEnterpriseClient doesn't work with HttpClient instance obtained from HttpClients.customs method[/+]mzogz commentedon Jul 6, 2018
Is there any traffic on this issue? It's been open about a year and it's still a problem in the core google http api using version 1.23.0 from Maven for Java.
chore: release 0.18.1-SNAPSHOT (googleapis#364)