All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.contek.invoker.ftx.api.rest.user.UserRestRequest Maven / Gradle / Ivy

There is a newer version: 2.4.0
Show newest version
package io.contek.invoker.ftx.api.rest.user;

import io.contek.invoker.commons.api.actor.IActor;
import io.contek.invoker.commons.api.rest.RestContext;
import io.contek.invoker.ftx.api.rest.RestRequest;

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());
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy