public class ScriptAction extends io.inversion.Action<ScriptAction>
| Modifier and Type | Class and Description |
|---|---|
static class |
ScriptAction.Util |
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
log |
| Constructor and Description |
|---|
ScriptAction() |
| Modifier and Type | Method and Description |
|---|---|
static io.inversion.json.JSNode |
findScript(java.lang.String path) |
java.util.LinkedHashMap<java.lang.String,io.inversion.json.JSNode> |
findScripts(io.inversion.Request req) |
long |
getCacheExpireSeconds() |
java.lang.String |
getScriptsCollection() |
java.lang.String |
getScriptsDir() |
void |
run(io.inversion.Request req,
io.inversion.Response res) |
void |
setCacheExpireSeconds(long cacheExpireSeconds) |
void |
setScriptsCollection(java.lang.String scriptsCollection) |
ScriptAction |
withCacheExpireSeconds(long cacheExpireSeconds) |
ScriptAction |
withScriptsDir(java.lang.String scriptsDir) |
configureOp, doDelete, doGet, doPatch, doPost, doPut, getFullIncludePaths, getIncludePaths, isDecoration, joinPaths, joinPaths0, run0, withDecorationafterWiringComplete, checkLazyConfig, compareTo, doLazyConfig, getAllExcludePaths, getAllIncludeMethods, getAllIncludePaths, getDefaultIncludeMatchers, getDescription, getExcludeMatchers, getIncludeMatchers, getName, getOrder, getParams, match, match, matches, matches, toString, withDescription, withExcludeOn, withExcludeOn, withIncludeOn, withIncludeOn, withName, withOrder, withParam, withParamsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddResponse, addResponse, beautifyTag, buildOperation, documentOpDelete, documentOperationSchema, documentOpFind, documentOpGet, documentOpPatch, documentOpPost, documentOpPut, documentOpRelated, documentParam, documentQueryParams, documentRequestSchema, documentResourceSchema, documentResponseSchema, findOp, getDescription, getSchemaRef, hasParam, hook_documentOp, newComponentRefSchema, newHrefSchema, newTypeSchema, removeReadOnlyPropertiespublic static io.inversion.json.JSNode findScript(java.lang.String path)
public void run(io.inversion.Request req,
io.inversion.Response res)
throws io.inversion.ApiException
run in class io.inversion.Action<ScriptAction>io.inversion.ApiExceptionpublic java.util.LinkedHashMap<java.lang.String,io.inversion.json.JSNode> findScripts(io.inversion.Request req)
throws io.inversion.ApiException
io.inversion.ApiExceptionpublic java.lang.String getScriptsCollection()
public void setScriptsCollection(java.lang.String scriptsCollection)
public java.lang.String getScriptsDir()
public ScriptAction withScriptsDir(java.lang.String scriptsDir)
public long getCacheExpireSeconds()
public void setCacheExpireSeconds(long cacheExpireSeconds)
public ScriptAction withCacheExpireSeconds(long cacheExpireSeconds)
Copyright © 2023 Rocket Partners, LLC. All rights reserved.