Groovy Documentation
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

A

accumulate(String, Object) - Method in JSONObject
Accumulate values under a key.
add(int, Object) - Method in JSONArray
addAll(int, Collection) - Method in JSONArray
append(String, Object) - Method in JSONObject
Append values to the array under a key.
asBoolean() - Method in JSONObject.Null
Used in Groovy truth
authorize(def) - Method in HTTPAuthorization
authorize(def) - Method in HTTPBasicAuthorization

B

back() - Method in JSONTokener
Back up one character.
body(Map, Closure) - Method in SOAPMessageBuilder
BodyPart - Class in wslite.rest.multipart
build(Closure) - Method in ContentBuilder
build(HTTPMethod, String, Map, byte[]) - Method in RequestBuilder
build(HTTPRequest, HTTPResponse) - Method in ResponseBuilder
build(Closure) - Method in SOAPMessageBuilder
bytes(def) - Method in ContentBuilder

C

charset(def) - Method in ContentBuilder
clear() - Method in JSONArray
clear() - Method in JSONObject
clone() - Method in JSONObject.Null
There is only intended to be a single instance of the NULL object, so the clone method returns itself.
contains(Object) - Method in JSONArray
containsAll(Collection) - Method in JSONArray
containsKey(Object) - Method in JSONObject
containsValue(Object) - Method in JSONObject
ContentBuilder - Class in wslite.rest
ContentBuilder(String, String) - Constructor in ContentBuilder
ContentType - Enum in wslite.rest
ContentTypeHeader - Class in wslite.http
ContentTypeHeader(String) - Constructor in ContentTypeHeader

D

decode(String) - Method in URLParametersCodec
dehexchar(char) - Method in JSONTokener
Get the hex value of a character (base16).
delete(Map) - Method in RESTClient
doubleToString(double) - Method in JSONObject
Produce a string from a double.
dump(Map, Object) - Method in ObjectHelper

E

encode(Map) - Method in URLParametersCodec
encoding(String) - Method in SOAPMessageBuilder
end() - Method in JSONTokener
entrySet() - Method in JSONObject
envelopeAttributes(Map) - Method in SOAPMessageBuilder
equals(Object) - Method in JSONObject.Null
A Null object is equal to the null value and to itself.
execute(HTTPRequest) - Method in HTTPClient

F


G

get(int) - Method in JSONArray
Get the object value associated with an index.
get(Object) - Method in JSONObject
get(Map) - Method in RESTClient
getAcceptHeader() - Method in ContentType
getBody() - Method in SOAPResponse
getBoolean(int) - Method in JSONArray
Get the boolean value associated with an index.
getBoolean(String) - Method in JSONObject
Get the boolean value associated with a key.
getCause() - Method in JSONException
getCharset() - Method in ContentBuilder
getConnection(URL, Proxy) - Method in HTTPConnectionFactory
getConnectionTrustAllSSLCerts(URL, Proxy) - Method in HTTPConnectionFactory
getConnectionUsingTrustStore(URL, String, String, Proxy) - Method in HTTPConnectionFactory
getContentAsString() - Method in HTTPRequest
getContentAsString() - Method in HTTPResponse
getContentTypeHeader() - Method in ContentBuilder
getContentTypeList() - Method in ContentType
getDouble(int) - Method in JSONArray
Get the double value associated with an index.
getDouble(String) - Method in JSONObject
Get the double value associated with a key.
getFault() - Method in SOAPResponse
getHeader() - Method in SOAPResponse
getHeaders() - Method in HTTPResponse
getInt(int) - Method in JSONArray
Get the int value associated with an index.
getInt(String) - Method in JSONObject
Get the int value associated with a key.
getJSONArray(int) - Method in JSONArray
Get the JSONArray associated with an index.
getJSONArray(String) - Method in JSONObject
Get the JSONArray value associated with a key.
getJSONObject(int) - Method in JSONArray
Get the JSONObject associated with an index.
getJSONObject(String) - Method in JSONObject
Get the JSONObject value associated with a key.
getLong(int) - Method in JSONArray
Get the long value associated with an index.
getLong(String) - Method in JSONObject
Get the long value associated with a key.
getNames(Object) - Method in JSONObject
Get an array of field names from an Object.
getPassword() - Method in HTTPBasicAuthorization
getRequest() - Method in HTTPClientException
getResponse() - Method in HTTPClientException
getSoapMessageText() - Method in SOAPMessageParseException
getString(int) - Method in JSONArray
Get the string associated with an index.
getString(String) - Method in JSONObject
Get the string associated with a key.
getUsername() - Method in HTTPBasicAuthorization

H

has(String) - Method in JSONObject
Determine if the JSONObject contains a specific key.
hasFault() - Method in SOAPResponse
hasHeader() - Method in SOAPResponse
header(Map, Closure) - Method in SOAPMessageBuilder
HTTP - Class in wslite.http
HTTPAuthorization - Interface in wslite.http.auth
HTTPBasicAuthorization - Class in wslite.http.auth
HTTPBasicAuthorization(String, String) - Constructor in HTTPBasicAuthorization
HTTPClient - Class in wslite.http
HTTPClient(HTTPConnectionFactory) - Constructor in HTTPClient
HTTPClientException - Class in wslite.http
HTTPClientException(String, Throwable, HTTPRequest, HTTPResponse) - Constructor in HTTPClientException
HTTPConnectionFactory - Class in wslite.http
HTTPMethod - Enum in wslite.http
HTTPMethod(String) - Constructor in HTTPMethod
HTTPRequest - Class in wslite.http
HTTPResponse - Class in wslite.http

I

increment(String) - Method in JSONObject
Increment a property of a JSONObject.
indexOf(Object) - Method in JSONArray
isEmpty() - Method in JSONArray
isEmpty() - Method in JSONObject
isNull(int) - Method in JSONArray
Determine if the value is null.
isNull(String) - Method in JSONObject
Determine if the value associated with the key is null or if there is no value.
iterator() - Method in JSONArray

J

join(String) - Method in JSONArray
Make a string from the contents of this JSONArray.
json(List) - Method in ContentBuilder
JSONArray - Class in wslite.json
A JSONArray is an ordered sequence of values.
JSONArray(Object) - Constructor in JSONArray
Construct a JSONArray from an array
JSONException - Class in wslite.json
The JSONException is thrown by the JSON.org classes when things are amiss.
JSONException(Throwable) - Constructor in JSONException
JSONObject - Class in wslite.json
A JSONObject is an unordered collection of name/value pairs.
JSONObject(String, Locale) - Method in JSONObject
Construct a JSONObject from a ResourceBundle.
JSONString - Interface in wslite.json
The JSONString interface allows a toJSONString() method so that a class can change the behavior of JSONObject.toString(), JSONArray.toString(), and JSONWriter.value(Object).
JSONTokener - Class in wslite.json
A JSONTokener takes a source string and extracts characters and tokens from it.
JSONTokener(String) - Constructor in JSONTokener
Construct a JSONTokener from a string.

K

keys() - Method in JSONObject
Get an enumeration of the keys of the JSONObject.
keySet() - Method in JSONObject

L

lastIndexOf(Object) - Method in JSONArray
length() - Method in JSONArray
Get the number of elements in the JSONArray, included nulls.
length() - Method in JSONObject
Get the number of keys stored in the JSONObject.
listIterator(int) - Method in JSONArray

M

more() - Method in JSONTokener
Determine if the source string still contains characters that next() can consume.
multipart(String, byte[]) - Method in ContentBuilder

N

names() - Method in JSONObject
Produce a JSONArray containing the names of the elements of this JSONObject.
next(int) - Method in JSONTokener
Get the next n characters.
nextClean() - Method in JSONTokener
Get the next char in the string, skipping whitespace.
nextString(char) - Method in JSONTokener
Return the characters up to the next close quote character.
nextTo(String) - Method in JSONTokener
Get the text up but not including one of the specified delimiter characters or the end of line, whichever comes first.
nextValue() - Method in JSONTokener
Get the next value.
NULL - Field in JSONObject
It is sometimes more convenient and less ambiguous to have a NULL object than to use Java's null value.
numberToString(Number) - Method in JSONObject
Produce a string from a Number.

O

ObjectHelper - Class in wslite.util
opt(int) - Method in JSONArray
Get the optional object value associated with an index.
opt(String) - Method in JSONObject
Get an optional value associated with a key.
optBoolean(int, boolean) - Method in JSONArray
Get the optional boolean value associated with an index.
optBoolean(String, boolean) - Method in JSONObject
Get an optional boolean associated with a key.
optDouble(int, double) - Method in JSONArray
Get the optional double value associated with an index.
optDouble(String, double) - Method in JSONObject
Get an optional double associated with a key, or the defaultValue if there is no such key or if its value is not a number.
optInt(int, int) - Method in JSONArray
Get the optional int value associated with an index.
optInt(String, int) - Method in JSONObject
Get an optional int value associated with a key, or the default if there is no such key or if the value is not a number.
optJSONArray(int) - Method in JSONArray
Get the optional JSONArray associated with an index.
optJSONArray(String) - Method in JSONObject
Get an optional JSONArray associated with a key.
optJSONObject(int) - Method in JSONArray
Get the optional JSONObject associated with an index.
optJSONObject(String) - Method in JSONObject
Get an optional JSONObject associated with a key.
optLong(int, long) - Method in JSONArray
Get the optional long value associated with an index.
optLong(String, long) - Method in JSONObject
Get an optional long value associated with a key, or the default if there is no such key or if the value is not a number.
optString(int, String) - Method in JSONArray
Get the optional string associated with an index.
optString(String, String) - Method in JSONObject
Get an optional string associated with a key.

P

post(Map, Closure) - Method in RESTClient
propertyMissing(String) - Method in JSONObject.Null
References to any properties should return null.
propertyMissing(String, def) - Method in Response
propertyMissing(String) - Method in SOAPResponse
put(int, Object) - Method in JSONArray
Put or replace an object value in the JSONArray.
put(Object, Object) - Method in JSONObject
put(Map, Closure) - Method in RESTClient
putAll(Map) - Method in JSONObject
putOnce(String, Object) - Method in JSONObject
Put a key/value pair in the JSONObject, but only if the key and the value are both non-null, and only if there is not already a member with that name.
putOpt(String, Object) - Method in JSONObject
Put a key/value pair in the JSONObject, but only if the key and the value are both non-null.

Q

quote(String) - Method in JSONObject
Produce a string in double quotes with backslash sequences in all the right places.

R

remove(Object) - Method in JSONArray
remove(Object) - Method in JSONObject
removeAll(Collection) - Method in JSONArray
RequestBuilder - Class in wslite.rest
Response - Class in wslite.rest
Response(HTTPRequest, HTTPResponse) - Constructor in Response
ResponseBuilder - Class in wslite.rest
RESTClient - Class in wslite.rest
RESTClient(String, HTTPClient) - Constructor in RESTClient
RESTClientException - Class in wslite.rest
RESTClientException(String, Throwable, HTTPRequest, HTTPResponse) - Constructor in RESTClientException
RESTContentParseException - Class in wslite.rest
RESTContentParseException(String, Throwable, HTTPRequest, HTTPResponse) - Constructor in RESTContentParseException
retainAll(Collection) - Method in JSONArray

S

send(Map, SOAPVersion, String) - Method in SOAPClient
set(int, Object) - Method in JSONArray
setAuthorization(HTTPAuthorization) - Method in RESTClient
setAuthorization(HTTPAuthorization) - Method in SOAPClient
setConnectTimeout(int) - Method in HTTPRequest
setEnvelope(GPathResult) - Method in SOAPResponse
setFollowRedirects(boolean) - Method in HTTPRequest
setHeaders(Map) - Method in HTTPRequest
setHeaders(Map) - Method in HTTPResponse
setPassword(String) - Method in HTTPBasicAuthorization
setReadTimeout(int) - Method in HTTPRequest
setSslTrustAllCerts(boolean) - Method in HTTPRequest
setUseCaches(boolean) - Method in HTTPRequest
setUsername(String) - Method in HTTPBasicAuthorization
size() - Method in JSONArray
size() - Method in JSONObject
skipTo(char) - Method in JSONTokener
Skip characters until the next character is the requested character.
SOAP - Class in wslite.soap
SOAPClient - Class in wslite.soap
SOAPClient(HTTPClient) - Constructor in SOAPClient
SOAPClientException - Class in wslite.soap
SOAPClientException(String, Throwable, HTTPRequest, HTTPResponse) - Constructor in SOAPClientException
SOAPFaultException - Class in wslite.soap
SOAPFaultException(SOAPResponse) - Constructor in SOAPFaultException
SOAPMessageBuilder - Class in wslite.soap
SOAPMessageParseException - Class in wslite.soap
SOAPMessageParseException(String, Throwable, HTTPRequest, HTTPResponse) - Constructor in SOAPMessageParseException
soapNamespacePrefix(String) - Method in SOAPMessageBuilder
SOAPResponse - Class in wslite.soap
SOAPVersion - Enum in wslite.soap
stringToValue(String) - Method in JSONObject
Try to convert a string into a number, boolean, or null.
subList(int, int) - Method in JSONArray
syntaxError(String) - Method in JSONTokener
Make a JSONException to signal a syntax error.

T

testValidity(Object) - Method in JSONObject
Throw an exception if the object is a NaN or infinite number.
text(def) - Method in ContentBuilder
toArray(Object[]) - Method in JSONArray
toJSONArray(JSONArray) - Method in JSONObject
Produce a JSONArray containing the values of the members of this JSONObject.
toJSONObject(JSONArray) - Method in JSONArray
Produce a JSONObject by combining a JSONArray of names with the values of this JSONArray.
toJSONString() - Method in JSONString
The toJSONString method allows a class to produce its own JSON serialization.
toString() - Method in ContentType
toString() - Method in ContentTypeHeader
toString() - Method in HTTPBasicAuthorization
toString() - Method in HTTPMethod
toString() - Method in HTTPRequest
toString() - Method in HTTPResponse
toString(int) - Method in JSONArray
Make a prettyprinted JSON text of this JSONArray.
toString(int) - Method in JSONObject
Make a prettyprinted JSON text of this JSONObject.
toString() - Method in JSONObject.Null
Get the "null" string value.
toString() - Method in JSONTokener
Make a printable string of this JSONTokener.
toString() - Method in Response
toString() - Method in SOAPMessageBuilder
toString() - Method in SOAPResponse
type(def) - Method in ContentBuilder

U

urlenc(Map) - Method in ContentBuilder
URLParametersCodec - Class in wslite.rest

V

values() - Method in JSONObject
valueToString(Object) - Method in JSONObject
Make a JSON text of an Object value.
version(SOAPVersion) - Method in SOAPMessageBuilder

W

wrap(Object) - Method in JSONObject
Wrap an object, if necessary.
write(Writer) - Method in JSONArray
Write the contents of the JSONArray as JSON text to a writer.
write(Writer) - Method in JSONObject
Write the contents of the JSONObject as JSON text to a writer.

X

xml(Closure) - Method in ContentBuilder

Y


Z


_


Groovy Documentation