@RepositoryRestController @RequestMapping(value="/{repository}") public class RepositoryEntityController extends BaseController
BASE_NAME, ID_URI, logger, request| 构造器和说明 |
|---|
RepositoryEntityController() |
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.Object |
batchDestroy(RootResourceInformation resourceInformation,
java.lang.String... id) |
java.lang.Object |
create(RootResourceInformation resourceInformation,
PersistentEntityResource resource) |
java.lang.Object |
destroy(RootResourceInformation resourceInformation,
java.lang.String id) |
org.springframework.http.ResponseEntity<?> |
headCollectionResource(RootResourceInformation resourceInformation)
HEAD /{repsoitory} |
org.springframework.http.ResponseEntity<?> |
headForItemResource(RootResourceInformation resourceInformation,
java.lang.String id)
HEAD /{repsoitory}/{id} |
java.lang.Object |
index(RootResourceInformation resourceInformation,
org.springframework.data.domain.Pageable pageable,
boolean all) |
org.springframework.http.ResponseEntity<?> |
optionsForCollectionResource(RootResourceInformation information)
OPTIONS /{repository}. |
org.springframework.http.ResponseEntity<?> |
optionsForItemResource(RootResourceInformation information)
OPTIONS /{repository}/{id}. |
java.lang.Object |
searchMethod(RootResourceInformation resourceInformation,
org.springframework.util.MultiValueMap<java.lang.String,java.lang.Object> parameters,
java.lang.String search,
org.springframework.data.domain.Pageable pageable) |
java.lang.Object |
show(RootResourceInformation resourceInformation,
java.lang.String id) |
java.lang.Object |
update(RootResourceInformation resourceInformation,
PersistentEntityResource resource,
java.lang.String id,
ETag eTag) |
equalsVersion, getDefaultPageable, getDefaultPageable, getDeviceInfo, getOldModel, getRealPath, getText, getTextDefaultNull, getUserAgent, hasParameter, hasParameterKey, setRelatedPropertycacheControl, created, getBaseLinkBuilder, getId, getPersistentEntity, noCache, noCache, noContent, ok, prepareHeaders, updated@RequestMapping(method=HEAD) public org.springframework.http.ResponseEntity<?> headCollectionResource(RootResourceInformation resourceInformation)
HEAD /{repsoitory}resourceInformation - resourceInformation@RequestMapping(value="/{id}",
method=HEAD)
public org.springframework.http.ResponseEntity<?> headForItemResource(RootResourceInformation resourceInformation,
@PathVariable
java.lang.String id)
HEAD /{repsoitory}/{id}resourceInformation - resourceInformationid - id@RequestMapping(method=OPTIONS) public org.springframework.http.ResponseEntity<?> optionsForCollectionResource(RootResourceInformation information)
OPTIONS /{repository}.information - information@RequestMapping(value="/{id}",
method=OPTIONS)
public org.springframework.http.ResponseEntity<?> optionsForItemResource(RootResourceInformation information)
OPTIONS /{repository}/{id}.information - information@RequestMapping(value="/search/{search}",
method=GET)
public java.lang.Object searchMethod(RootResourceInformation resourceInformation,
@RequestParam
org.springframework.util.MultiValueMap<java.lang.String,java.lang.Object> parameters,
@PathVariable
java.lang.String search,
org.springframework.data.domain.Pageable pageable)
throws java.lang.NoSuchMethodException
java.lang.NoSuchMethodException@RequestMapping(method=GET) public java.lang.Object index(RootResourceInformation resourceInformation, org.springframework.data.domain.Pageable pageable, boolean all)
@RequestMapping(value="/{id}",
method=GET)
public java.lang.Object show(RootResourceInformation resourceInformation,
@PathVariable
java.lang.String id)
@RequestMapping(method=POST) public java.lang.Object create(RootResourceInformation resourceInformation, PersistentEntityResource resource)
@RequestMapping(value="/{id}",
method=PUT)
public java.lang.Object update(RootResourceInformation resourceInformation,
PersistentEntityResource resource,
@PathVariable
java.lang.String id,
ETag eTag)
@RequestMapping(value="/{id}",
method=DELETE)
public java.lang.Object destroy(RootResourceInformation resourceInformation,
@PathVariable
java.lang.String id)
@RequestMapping(method=DELETE) public java.lang.Object batchDestroy(RootResourceInformation resourceInformation, java.lang.String... id) throws java.lang.IllegalAccessException, java.lang.InstantiationException
java.lang.IllegalAccessExceptionjava.lang.InstantiationException