
com.linkedin.restli.server.annotations.RestLiTemplate 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.
The newest version!
package com.linkedin.restli.server.annotations;
import java.lang.annotation.Annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Annotation applied to the resource template class, e.g. {@link com.linkedin.restli.server.resources.CollectionResourceTemplate}.
* We will check if the actual resource class is annotated with the correct annotation expected by the template class, expressed in
* this annotation. If not, resource model generation will fail.
*
* @author Keren Jin
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface RestLiTemplate
{
/**
* @return Annotation expected by the resource template class
*/
Class extends Annotation> expectedAnnotation();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy