public class ResourcePatch extends ResourceUpsert
resourceRegistry, typeParser| Constructor and Description |
|---|
ResourcePatch(ResourceRegistry resourceRegistry,
TypeParser typeParser) |
| Modifier and Type | Method and Description |
|---|---|
BaseResponse<?> |
handle(JsonPath jsonPath,
RequestParams requestParams,
RequestBody requestBody)
Passes the request to controller method.
|
boolean |
isAcceptable(JsonPath jsonPath,
String requestType)
Checks if requested resource method is acceptable.
|
buildNewResource, saveRelationField, saveRelations, setAttributespublic ResourcePatch(ResourceRegistry resourceRegistry, TypeParser typeParser)
public boolean isAcceptable(JsonPath jsonPath, String requestType)
BaseControllerjsonPath - Requested resource pathrequestType - HTTP request typepublic BaseResponse<?> handle(JsonPath jsonPath, RequestParams requestParams, RequestBody requestBody) throws Exception
BaseControllerjsonPath - Requested resource pathrequestParams - Params specifying requestrequestBody - Top-level JSON object from method's body of the request passed as RequestBodyException - internal Katharsis exceptionCopyright © 2015. All Rights Reserved.