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

com.linkedin.restli.server.ProjectionMode Maven / Gradle / Ivy

Go to download

Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs.

There is a newer version: 27.7.18
Show newest version
package com.linkedin.restli.server;


/**
 * Setting for how projections are handled.
 */
public enum ProjectionMode
{
  /**
   * The rest.li framework will automatically apply projections to response bodies.
   */
  AUTOMATIC,

  /**
   * The rest.li framework will NOT apply projections to response bodies, the application code is expected
   * to apply the projection.
   */
  MANUAL;

  public static ProjectionMode getDefault()
  {
    return AUTOMATIC;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy