Uses of Annotation Interface
org.springframework.extensions.webscripts.annotation.ScriptParameter
Packages that use ScriptParameter
Package
Description
-
Uses of ScriptParameter in org.springframework.extensions.webscripts
Method parameters in org.springframework.extensions.webscripts with annotations of type ScriptParameterModifier and TypeMethodDescriptionInvoke a specific URI on the default endpointInvokes a URI on the endpoint via a GET request.Constructs a RemoteClient to a specific endpoint.Invokes a URI on a remote service as DELETE request.ScriptableUtils.encodeHTML(String s) ScriptableUtils.encodeJavaScript(String s) Invokes a GET request URI on the endpoint.ScriptRemote.getEndpointDescription(String endpointId) Returns the description of an endpointScriptRemote.getEndpointName(String endpointId) Returns the name of an endpointScriptRemote.getEndpointURL(String endpointId) Returns the configured URL for the given endpointbooleanScriptRemote.isEndpointPersistent(String id) voidfreemarker.ext.dom.NodeModelScriptableUtils.parseXMLNodeModel(String xml) Converts an xml string to a freemarker node modelInvokes a URI on a remote service, passing the supplied body as a POST request.Invokes a URI on a remote service, passing the supplied body as a POST request.Invokes a URI on a remote service, passing the supplied body as a POST request.Invokes a URI on a remote service, passing the supplied body as a POST request.Invokes a URI on a remote service, passing the supplied body as a POST request.Invokes a URI on a remote service, passing the supplied body as a PUT request.Invokes a URI on a remote service, passing the supplied body as a PUT request.Invokes a URI on a remote service, passing the supplied body as a PUT request.Invokes a URI on a remote service, passing the supplied body as a PUT request.Invokes a URI on a remote service, passing the supplied body as a PUT request.ScriptableUtils.replaceLineBreaks(String s) ScriptableUtils.stripEncodeUnsafeHTML(String s) ScriptableUtils.stripUnsafeHTML(String s) ScriptableUtils.urlEncodeComponent(String s) void -
Uses of ScriptParameter in org.springframework.extensions.webscripts.json
Method parameters in org.springframework.extensions.webscripts.json with annotations of type ScriptParameterModifier and TypeMethodDescriptionJSONUtils.encodeJSONString(Object value) Encodes a JSON string valueJSONUtils.toJSONString(Object object) Converts a given JavaScript native object and converts it to the relevant JSON string.org.mozilla.javascript.ScriptableObjectTakes a JSON string and converts it to a native java script object or arrayorg.mozilla.javascript.NativeArrayJSONUtils.toObject(org.json.simple.JSONArray jsonArray) Takes a JSON array and converts it to a native JS array.org.mozilla.javascript.NativeObjectJSONUtils.toObject(org.json.simple.JSONObject jsonObject) Takes a JSON object and converts it to a native JS object.