Uses of Annotation Interface
org.springframework.extensions.webscripts.annotation.ScriptMethod
Packages that use ScriptMethod
Package
Description
-
Uses of ScriptMethod in org.springframework.extensions.webscripts
Methods in org.springframework.extensions.webscripts with annotations of type ScriptMethodModifier and TypeMethodDescriptionInvoke a specific URI on the default endpointInvokes a URI on the endpoint via a GET request.ScriptRemote.connect()Constructs a remote connector to a default endpoint (if configured).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.ScriptRemoteConnector.getDescriptor()ScriptRemoteConnector.getEndpoint()Returns the endpoint stringScriptRemote.getEndpointDescription(String endpointId) Returns the description of an endpointString[]ScriptRemote.getEndpointIds()Returns a list of the application endpoint idsScriptRemote.getEndpointName(String endpointId) Returns the name of an endpointScriptRemote.getEndpointURL(String endpointId) Returns the configured URL for the given endpointbooleanScriptRemote.isEndpointPersistent(String id) booleanScriptLogger.isLoggingEnabled()booleanScriptLogger.isWarnLoggingEnabled()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 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 ScriptMethod in org.springframework.extensions.webscripts.json
Methods in org.springframework.extensions.webscripts.json with annotations of type ScriptMethodModifier and TypeMethodDescriptionJSONUtils.encodeJSONString(Object value) Encodes a JSON string valueorg.json.simple.JSONObjectJSONUtils.toJSONObject(Object object) Converts the given JavaScript native object to a org.json.simple.JSONObject Java Object.JSONUtils.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.