You don't have to implement this class if the library supplies some concrete classes inheriting from this abstract class(unless none of them fits your needs). For example, ApacheHttpTransport
, NetHttpTransport
and UrlFetchTransport
.
how to write HttpRequest with "get" Method
-
05-03-2022 - |
Question
I'm using com.google.api.client.http
I want to send some request with this package.
HttpRequest request = new HttpRequest(new HttpTransport(),"GET");
But the HttpTransport in the package is abstract ,so it means I need to implement this class?
Is there anyone who can help me ?
La solution
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow