io.contek.invoker.bybit.api.rest.user.UserRestRequest Maven / Gradle / Ivy
package io.contek.invoker.bybit.api.rest.user;
import io.contek.invoker.bybit.api.rest.RestRequest;
import io.contek.invoker.commons.api.actor.IActor;
import io.contek.invoker.commons.api.rest.RestContext;
import javax.annotation.concurrent.NotThreadSafe;
import static com.google.common.base.Preconditions.checkArgument;
@NotThreadSafe
abstract class UserRestRequest extends RestRequest {
UserRestRequest(IActor actor, RestContext context) {
super(actor, context);
checkArgument(!actor.getCredential().isAnonymous());
}
}