com.linkedin.restli.server.ProjectionMode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of restli-server Show documentation
Show all versions of restli-server Show documentation
Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs.
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