Interface IHttpClient
-
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
DefaultHttpClient
public interface IHttpClient extends AutoCloseable
An DefaultHttpClient is used to send Requests to FCM.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <TRequestMessage>
voidpost(TRequestMessage requestMessage)<TRequestMessage,TResponseMessage>
TResponseMessagepost(TRequestMessage requestMessage, Class<TResponseMessage> responseType)<TRequestMessage>
CompletableFuture<String>postAsync(TRequestMessage requestMessage)-
Methods inherited from interface java.lang.AutoCloseable
close
-
-
-
-
Method Detail
-
post
<TRequestMessage> void post(TRequestMessage requestMessage)
-
post
<TRequestMessage,TResponseMessage> TResponseMessage post(TRequestMessage requestMessage, Class<TResponseMessage> responseType)
-
postAsync
<TRequestMessage> CompletableFuture<String> postAsync(TRequestMessage requestMessage)
-
-