@Documented @Component @Retention(value=RUNTIME) @Target(value={TYPE,ANNOTATION_TYPE}) @BasePathAwareController public @interface RepositoryRestController
Note, that this annotation should only be used by application controllers that map to URIs that are managed by Spring
Data REST as they get handled by a special HandlerMapping
implementation that applies additional
functionality:
OpenEntityManagerInViewInterceptor
for JPA backed repositories so that properties can always be
accessed.@AliasFor(attribute="value", annotation=BasePathAwareController.class) public abstract String[] value
path()
@AliasFor(attribute="path", annotation=BasePathAwareController.class) public abstract String[] path
value()
Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.