public class JsContent extends Object
| Modifier and Type | Method and Description |
|---|---|
static JsContent |
fromFeature(String content,
String source,
FeatureRegistry.FeatureBundle bundle,
FeatureResource resource) |
static JsContent |
fromFeature(String content,
String source,
FeatureRegistry.FeatureBundle bundle,
FeatureResource resource,
boolean noCompile) |
static JsContent |
fromText(String content,
String source) |
static JsContent |
fromText(String content,
String source,
boolean noCompile) |
String |
get() |
FeatureRegistry.FeatureBundle |
getFeatureBundle() |
FeatureResource |
getFeatureResource() |
String |
getSource() |
boolean |
isNoCompile()
This is usually only set to true for
JsProcessor via JsResponseBuilders
that have dynamic output that is vulnerable to attacks where input variation
would cause unique output. |
public static JsContent fromFeature(String content, String source, FeatureRegistry.FeatureBundle bundle, FeatureResource resource)
public static JsContent fromFeature(String content, String source, FeatureRegistry.FeatureBundle bundle, FeatureResource resource, boolean noCompile)
public String get()
public String getSource()
public FeatureRegistry.FeatureBundle getFeatureBundle()
public FeatureResource getFeatureResource()
public boolean isNoCompile()
JsProcessor via JsResponseBuilders
that have dynamic output that is vulnerable to attacks where input variation
would cause unique output.Copyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.