public class QueryCreateHandler extends BaseManagementHandler
LOG, RESOURCES_NODE_NAME
Constructor and Description |
---|
QueryCreateHandler() |
Modifier and Type | Method and Description |
---|---|
protected RequestHandler |
getReadHandler()
Read handler instance.
|
protected ResourceInstanceFactory |
getResourceFactory()
Get the resource factory instance.
|
Result |
handleRequest(Request request)
Handle the given request and return a result.
|
protected Result |
persist(ResourceInstance resource,
RequestBody body)
Persist the operation to the back end.
|
createResult, getClusterController, getPersistenceManager
public Result handleRequest(Request request)
RequestHandler
handleRequest
in interface RequestHandler
handleRequest
in class BaseManagementHandler
request
- the request to handleprotected Result persist(ResourceInstance resource, RequestBody body)
BaseManagementHandler
persist
in class BaseManagementHandler
resource
- associated resourcebody
- associated request bodyprotected ResourceInstanceFactory getResourceFactory()
protected RequestHandler getReadHandler()
Copyright © 2017. All rights reserved.