Class RestApi
- java.lang.Object
-
- com.yahoo.config.model.producer.AbstractConfigProducer<AbstractConfigProducer<?>>
-
- com.yahoo.vespa.model.container.jersey.RestApi
-
- All Implemented Interfaces:
com.yahoo.config.ConfigInstance.Producer
,ConfigProducer
,java.io.Serializable
public class RestApi extends AbstractConfigProducer<AbstractConfigProducer<?>>
Represents a rest-api- Author:
- gjoranv
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.yahoo.config.model.producer.AbstractConfigProducer
log
-
-
Constructor Summary
Constructors Constructor Description RestApi(java.lang.String bindingPath)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getBindingPath()
RestApiContext
getContext()
Jersey2Servlet
getJersey2Servlet()
static java.lang.String
idFromPath(java.lang.String path)
void
prepare()
void
setRestApiContext(RestApiContext restApiContext)
-
Methods inherited from class com.yahoo.config.model.producer.AbstractConfigProducer
addChild, addConfigId, addDescendantService, addUserConfig, cascadeConfig, dump, getChildren, getChildrenByTypeRecursive, getConfigClassLoader, getConfigId, getDescendantServices, getMonitoringService, getParent, getRoot, getSubId, getUserConfigs, hostSystem, mergeUserConfigs, removeChild, setParent, setUserConfigs, stateIsHosted, validate
-
-
-
-
Method Detail
-
idFromPath
public static java.lang.String idFromPath(java.lang.String path)
-
getBindingPath
public java.lang.String getBindingPath()
-
setRestApiContext
public void setRestApiContext(RestApiContext restApiContext)
-
getContext
public RestApiContext getContext()
-
getJersey2Servlet
public Jersey2Servlet getJersey2Servlet()
-
prepare
public void prepare()
-
-