public class HttpWarpScriptExtension extends WarpScriptExtension
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ATTRIBUTE_CHUNK_SIZE
Cap name for raising max chunk size
|
static java.lang.String |
ATTRIBUTE_HTTP_REQUESTS
Number of calls to HTTP so far in the sessions and cap name for raising related limit
|
static java.lang.String |
ATTRIBUTE_HTTP_SIZE
Current HTTP so far in the sessions and cap name for raising related limit
|
static long |
DEFAULT_HTTP_CHUNK_SIZE |
static long |
DEFAULT_HTTP_MAXSIZE |
static long |
DEFAULT_HTTP_REQUESTS |
static java.lang.String |
WARPSCRIPT_CHUNK_SIZE
Maximum chunk size allowed when downloading per chunk using HTTP
|
static java.lang.String |
WARPSCRIPT_HTTP_AUTHENTICATION_REQUIRED
If set to true, HTTP requires the stack to be authenticated
|
static java.lang.String |
WARPSCRIPT_HTTP_CAPABILITY
If set, this capability is inspected
|
static java.lang.String |
WARPSCRIPT_HTTP_HOST_PATTERNS
Allowed and excluded host patterns.
|
static java.lang.String |
WARPSCRIPT_HTTP_REQUESTS
Maximum number of calls to HTTP
|
static java.lang.String |
WARPSCRIPT_HTTP_SIZE
Maximum cumulative size allowed to be downloaded by HTTP
|
| Constructor and Description |
|---|
HttpWarpScriptExtension() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getFunctions()
Return a map of function name to actual function.
|
register, wrapMacropublic static final java.lang.String WARPSCRIPT_HTTP_AUTHENTICATION_REQUIRED
public static final java.lang.String WARPSCRIPT_HTTP_CAPABILITY
public static final java.lang.String WARPSCRIPT_HTTP_HOST_PATTERNS
public static final java.lang.String ATTRIBUTE_HTTP_REQUESTS
public static final java.lang.String ATTRIBUTE_HTTP_SIZE
public static final java.lang.String ATTRIBUTE_CHUNK_SIZE
public static final java.lang.String WARPSCRIPT_HTTP_REQUESTS
public static final java.lang.String WARPSCRIPT_HTTP_SIZE
public static final java.lang.String WARPSCRIPT_CHUNK_SIZE
public static final long DEFAULT_HTTP_REQUESTS
public static final long DEFAULT_HTTP_MAXSIZE
public static final long DEFAULT_HTTP_CHUNK_SIZE
public java.util.Map<java.lang.String,java.lang.Object> getFunctions()
WarpScriptExtensiongetFunctions in class WarpScriptExtension