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

com.backendless.servercode.AbstractContext Maven / Gradle / Ivy

There is a newer version: 7.0-alpha
Show newest version
package com.backendless.servercode;

import com.backendless.commons.DeviceType;

import java.util.List;
import java.util.Map;

public abstract class AbstractContext
{
  protected String appId;
  protected String userId;
  protected String userToken;
  protected List userRoles;
  protected DeviceType deviceType;
  protected Map httpHeaders;

  @Override
  public String toString()
  {
    final StringBuilder sb = new StringBuilder( "AbstractContext{" );
    sb.append( "appId='" ).append( appId ).append( '\'' );
    sb.append( ", userId='" ).append( userId ).append( '\'' );
    sb.append( ", userToken='" ).append( userToken ).append( '\'' );
    sb.append( ", userRoles=" ).append( userRoles );
    sb.append( ", deviceType=" ).append( deviceType );
    sb.append( '}' );
    return sb.toString();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy