| Modifier and Type | Method and Description |
|---|---|
BaseResponse<?> |
RequestDispatcher.dispatchRequest(JsonPath jsonPath,
String requestType,
RequestParams requestParams,
RequestBody requestBody) |
| Modifier and Type | Method and Description |
|---|---|
BaseResponse<?> |
BaseController.handle(JsonPath jsonPath,
RequestParams requestParams,
RequestBody requestBody)
Passes the request to controller method.
|
boolean |
BaseController.isAcceptable(JsonPath jsonPath,
String requestType)
Checks if requested resource method is acceptable.
|
| Modifier and Type | Method and Description |
|---|---|
BaseResponse<?> |
CollectionGet.handle(JsonPath jsonPath,
RequestParams requestParams,
RequestBody requestBody) |
boolean |
CollectionGet.isAcceptable(JsonPath jsonPath,
String requestType)
Check if it is a GET request for a collection of resources.
|
| Modifier and Type | Method and Description |
|---|---|
BaseResponse |
RelationshipsResourceGet.handle(JsonPath jsonPath,
RequestParams requestParams,
RequestBody requestBody) |
BaseResponse<?> |
ResourcePatch.handle(JsonPath jsonPath,
RequestParams requestParams,
RequestBody requestBody) |
BaseResponse |
FieldResourceGet.handle(JsonPath jsonPath,
RequestParams requestParams,
RequestBody requestBody) |
BaseResponse<?> |
RelationshipsResourceUpsert.handle(JsonPath jsonPath,
RequestParams requestParams,
RequestBody requestBody) |
BaseResponse<?> |
ResourceDelete.handle(JsonPath jsonPath,
RequestParams requestParams,
RequestBody requestBody) |
ResourceResponse |
ResourcePost.handle(JsonPath jsonPath,
RequestParams requestParams,
RequestBody requestBody) |
ResourceResponse |
FieldResourcePost.handle(JsonPath jsonPath,
RequestParams requestParams,
RequestBody requestBody) |
BaseResponse<?> |
ResourceGet.handle(JsonPath jsonPath,
RequestParams requestParams,
RequestBody requestBody)
Passes the request to controller method.
|
boolean |
RelationshipsResourceGet.isAcceptable(JsonPath jsonPath,
String requestType) |
boolean |
ResourcePatch.isAcceptable(JsonPath jsonPath,
String requestType) |
boolean |
FieldResourceGet.isAcceptable(JsonPath jsonPath,
String requestType) |
boolean |
RelationshipsResourceUpsert.isAcceptable(JsonPath jsonPath,
String requestType) |
boolean |
ResourceDelete.isAcceptable(JsonPath jsonPath,
String requestType)
Checks if requested resource method is acceptable.
|
boolean |
ResourcePost.isAcceptable(JsonPath jsonPath,
String requestType)
Checks if requested resource method is acceptable.
|
boolean |
FieldResourcePost.isAcceptable(JsonPath jsonPath,
String requestType) |
boolean |
ResourceGet.isAcceptable(JsonPath jsonPath,
String requestType)
Checks if requested resource method is acceptable.
|
| Modifier and Type | Method and Description |
|---|---|
BaseController |
ControllerRegistry.getController(JsonPath jsonPath,
String requestType)
Iterate over all registered controllers to get the first suitable one.
|
| Modifier and Type | Method and Description |
|---|---|
JsonPath |
ErrorResponse.getJsonPath() |
| Modifier and Type | Class and Description |
|---|---|
class |
FieldPath
Represents a part of a path which relate a field of a resource e.g.
|
class |
RelationshipsPath
Represents a part of a path which relate a field of a resource e.g.
|
class |
ResourcePath
Represents a part of a path which relate a field of a resource e.g.
|
| Modifier and Type | Field and Description |
|---|---|
protected JsonPath |
JsonPath.childResource
Entry closer to path's end
|
protected JsonPath |
JsonPath.parentResource
Entry closer to path's beginning
|
| Modifier and Type | Method and Description |
|---|---|
JsonPath |
PathBuilder.buildPath(String path)
Parses path provided by the application.
|
JsonPath |
JsonPath.getChildResource() |
JsonPath |
JsonPath.getParentResource() |
| Modifier and Type | Method and Description |
|---|---|
static String |
PathBuilder.buildPath(JsonPath jsonPath)
Creates a path using the provided JsonPath structure.
|
void |
JsonPath.setChildResource(JsonPath childResource) |
void |
JsonPath.setParentResource(JsonPath parentResource) |
| Modifier and Type | Method and Description |
|---|---|
JsonPath |
ResourceResponse.getJsonPath() |
JsonPath |
CollectionResponse.getJsonPath() |
JsonPath |
BaseResponse.getJsonPath() |
| Constructor and Description |
|---|
CollectionResponse(Iterable data,
JsonPath jsonPath,
RequestParams requestParams) |
ResourceResponse(Object data,
JsonPath jsonPath,
RequestParams requestParams) |
Copyright © 2015. All Rights Reserved.