public class AbstractAssessorHandler
extends io.cdap.cdap.api.service.http.AbstractSystemHttpServiceHandler
| Modifier and Type | Class and Description |
|---|---|
protected static interface |
AbstractAssessorHandler.NamespacedEndpoint
Encapsulates the core logic that needs to happen in an endpoint.
|
| Modifier and Type | Field and Description |
|---|---|
protected static com.google.gson.Gson |
GSON |
| Constructor and Description |
|---|
AbstractAssessorHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configure() |
protected DraftService |
getDraftService() |
protected ConfigMacroEvaluator |
getMacroEvaluator() |
protected ConfigMacroEvaluator |
getMacroEvaluator(io.cdap.cdap.api.service.http.SystemHttpServiceContext context) |
protected StateStore |
getStateStore() |
protected void |
respond(String namespaceName,
io.cdap.cdap.api.service.http.HttpServiceResponder responder,
AbstractAssessorHandler.NamespacedEndpoint endpoint)
Utility method that checks that the namespace exists before responding.
|
createTableconfigure, destroy, getConfigurer, getContext, initialize, setPropertiesusePlugin, usePlugin, usePluginClass, usePluginClassprotected void configure()
configure in class io.cdap.cdap.api.service.http.AbstractHttpServiceHandler<io.cdap.cdap.api.service.http.SystemHttpServiceContext,io.cdap.cdap.api.service.http.SystemHttpServiceConfigurer>protected void respond(String namespaceName, io.cdap.cdap.api.service.http.HttpServiceResponder responder, AbstractAssessorHandler.NamespacedEndpoint endpoint)
protected DraftService getDraftService()
protected ConfigMacroEvaluator getMacroEvaluator()
protected ConfigMacroEvaluator getMacroEvaluator(io.cdap.cdap.api.service.http.SystemHttpServiceContext context)
protected StateStore getStateStore()
Copyright © 2023 CDAP Licensed under the Apache License, Version 2.0.