public class FeaturesBackend extends Object
| Constructor and Description |
|---|
FeaturesBackend(Feature feature) |
FeaturesBackend(Feature[] features) |
FeaturesBackend(Feature[] features,
Map<String,Object> arg) |
| Modifier and Type | Method and Description |
|---|---|
HttpResponse |
buildResponse(HttpRequest request,
long startTime) |
HttpResponse |
corsCheck(HttpRequest request,
long startTime) |
ScenarioContext |
getContext() |
FeatureBackend.FeatureScenarioMatch |
getMatchingScenario(ScriptValueMap args) |
ScriptValueMap |
handle(ScriptValueMap args) |
boolean |
isCorsEnabled() |
public FeaturesBackend(Feature feature)
public FeaturesBackend(Feature[] features)
public boolean isCorsEnabled()
public ScenarioContext getContext()
public HttpResponse buildResponse(HttpRequest request, long startTime)
public HttpResponse corsCheck(HttpRequest request, long startTime)
public ScriptValueMap handle(ScriptValueMap args)
public FeatureBackend.FeatureScenarioMatch getMatchingScenario(ScriptValueMap args)
Copyright © 2020. All rights reserved.