| Interface | Description |
|---|---|
| WebServicesController<T extends Model<ID>,ID extends Serializable> |
Basic interface, defining all of the required methods for a web services controller.
|
| Class | Description |
|---|---|
| AbstractApiController<T extends Model<ID>,ID extends Serializable> |
Base abstract implementation of
WebServicesController for GET, HEAD, and OPTIONS requests. |
| CrudApiController<T extends Model<ID>,ID extends Serializable> |
Extension of
AbstractApiController that allows for
PUT, POST, and DELETE operations. |
| FilterableResource<T> |
Allows filtering of the 'links' attribute using
FilteringJackson2HttpMessageConverter |
| ModelResourceAssembler<T extends Model<?>> |
Extension of Spring HATEOAS's
ResourceAssemblerSupport, which automatically builds self
links, based upon the Model class's `getId()` method signature, and by inferring
related models by fields annotated with ForeignKey. |
| ReadOnlyApiController<T extends Model<ID>,ID extends Serializable> |
Extension of
AbstractApiController that
throws a MethodNotAllowedException when
POST, PUT, or DELETE operations are attempted. |
| RequestUtils |
Helper methods for processing API controller requests.
|
| ResponseEnvelope |
Wrapper for GET request responses to allow for field filtering via
FilteringJackson2HttpMessageConverter |
Copyright © 2016. All rights reserved.