Interface | Description |
---|---|
RestController<T,ID extends Serializable> |
REST controller interface
|
Class | Description |
---|---|
LogController |
Log controller for client logging
|
RepositoryBasedRestController<T,ID extends Serializable,R extends org.springframework.data.repository.PagingAndSortingRepository> |
Abstract REST controller using a repository implementation
You should extend this class when you want to use a 2 layers pattern : Repository and Controller.
|
ServiceBasedRestController<T,ID extends Serializable,S extends CrudService> |
Abstract REST controller using a service implementation
You should extend this class when you want to use a 3 layers pattern : Repository, Service and Controller
If you don't have a real service (also called business layer), consider using RepositoryBasedRestController
Default implementation uses "id" field (usually a Long) in order to identify resources in web request.
|
ValidationController |
Exposes dedicated API to export defined validation constraints related to object class name.
|
Copyright © 2009–2014. All rights reserved.