Codota Logo
LineMessagingClientImpl.toFuture
Code IndexAdd Codota to your IDE (free)

How to use
toFuture
method
in
com.linecorp.bot.client.LineMessagingClientImpl

Best Java code snippets using com.linecorp.bot.client.LineMessagingClientImpl.toFuture (Showing top 17 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Point p =
  • Codota Iconnew Point(x, y)
  • Codota Iconnew Point()
  • Codota IconMouseEvent e;e.getPoint()
  • Smart code suggestions by Codota
}
origin: line/line-bot-sdk-java

  private <T> T syncGet(Call<T> wrap) {
    try {
      return toFuture(wrap).get();
    } catch (ExecutionException | InterruptedException e) {
      final Throwable cause;
      if (e.getCause() instanceof LineMessagingException) {
        cause = e.getCause();
      } else {
        cause = e;
      }
      throw new RuntimeException(cause);
    }
  }
}
origin: line/line-bot-sdk-java

@Override
public CompletableFuture<IssueLinkTokenResponse> issueLinkToken(String userId) {
  return toFuture(retrofitImpl.issueLinkToken(userId));
}
origin: line/line-bot-sdk-java

@Override
public CompletableFuture<UserProfileResponse> getRoomMemberProfile(
    final String roomId, final String userId) {
  return toFuture(retrofitImpl.getMemberProfile(ORG_TYPE_ROOM, roomId, userId));
}
origin: line/line-bot-sdk-java

@Override
public CompletableFuture<UserProfileResponse> getGroupMemberProfile(
    final String groupId, final String userId) {
  return toFuture(retrofitImpl.getMemberProfile(ORG_TYPE_GROUP, groupId, userId));
}
origin: line/line-bot-sdk-java

@Override
public CompletableFuture<MembersIdsResponse> getRoomMembersIds(
    final String roomId, final String start) {
  return toFuture(retrofitImpl.getMembersIds(ORG_TYPE_ROOM, roomId, start));
}
origin: line/line-bot-sdk-java

@Override
public CompletableFuture<MembersIdsResponse> getGroupMembersIds(
    final String groupId, final String start) {
  return toFuture(retrofitImpl.getMembersIds(ORG_TYPE_GROUP, groupId, start));
}
origin: line/line-bot-sdk-java

@Override
public CompletableFuture<BotApiResponse> multicast(final Multicast multicast) {
  return toFuture(retrofitImpl.multicast(multicast));
}
origin: line/line-bot-sdk-java

@Override
public CompletableFuture<RichMenuIdResponse> getRichMenuIdOfUser(final String userId) {
  return toFuture(retrofitImpl.getRichMenuIdOfUser(userId));
}
origin: line/line-bot-sdk-java

@Override
public CompletableFuture<BotApiResponse> pushMessage(final PushMessage pushMessage) {
  return toFuture(retrofitImpl.pushMessage(pushMessage));
}
origin: line/line-bot-sdk-java

@Override
public CompletableFuture<BotApiResponse> leaveGroup(final String groupId) {
  return toFuture(retrofitImpl.leaveGroup(groupId));
}
origin: line/line-bot-sdk-java

@Override
public CompletableFuture<BotApiResponse> leaveRoom(final String roomId) {
  return toFuture(retrofitImpl.leaveRoom(roomId));
}
origin: line/line-bot-sdk-java

@Override
public CompletableFuture<RichMenuListResponse> getRichMenuList() {
  return toFuture(retrofitImpl.getRichMenuList());
}
origin: line/line-bot-sdk-java

@Override
public CompletableFuture<RichMenuIdResponse> createRichMenu(final RichMenu richMenu) {
  return toFuture(retrofitImpl.createRichMenu(richMenu));
}
origin: line/line-bot-sdk-java

@Override
public CompletableFuture<UserProfileResponse> getProfile(final String userId) {
  return toFuture(retrofitImpl.getProfile(userId));
}
origin: line/line-bot-sdk-java

@Override
public CompletableFuture<RichMenuResponse> getRichMenu(final String richMenuId) {
  return toFuture(retrofitImpl.getRichMenu(richMenuId));
}
origin: line/line-bot-sdk-java

@Override
public CompletableFuture<RichMenuIdResponse> getDefaultRichMenuId() {
  return toFuture(retrofitImpl.getDefaultRichMenuId());
}
origin: line/line-bot-sdk-java

@Override
public CompletableFuture<BotApiResponse> replyMessage(final ReplyMessage replyMessage) {
  return toFuture(retrofitImpl.replyMessage(replyMessage));
}
com.linecorp.bot.clientLineMessagingClientImpltoFuture

Popular methods of LineMessagingClientImpl

  • <init>
  • cancelDefaultRichMenu
  • createRichMenu
  • deleteRichMenu
  • getDefaultRichMenuId
  • getGroupMemberProfile
  • getGroupMembersIds
  • getMessageContent
  • getProfile
  • getRichMenu
  • getRichMenuIdOfUser
  • getRichMenuImage
  • getRichMenuIdOfUser,
  • getRichMenuImage,
  • getRichMenuList,
  • getRoomMembersIds,
  • issueLinkToken,
  • leaveGroup,
  • leaveRoom,
  • linkRichMenuIdToUser,
  • multicast,
  • pushMessage

Popular in Java

  • Creating JSON documents from java classes using gson
  • setScale (BigDecimal)
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • JPanel (javax.swing)
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.This exception may include information for locating the er
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now