use of me.semx11.autotip.api.reply.impl.KeepAliveReply in project Hyperium by HyperiumClient.
the class KeepAliveRequest method execute.
@Override
public KeepAliveReply execute() {
HttpUriRequest request = GetBuilder.of(this).addParameter("key", sessionKey).build();
Optional<Reply> optional = RequestHandler.getReply(this, request.getURI());
return optional.map(reply -> (KeepAliveReply) reply).orElseGet(() -> new KeepAliveReply(false));
}
Aggregations