Skip navigation links
A B C D E F G H I L O P R S T U V W 

A

add(String) - Method in class com.gigya.socialize.GSArray
 
add(int) - Method in class com.gigya.socialize.GSArray
 
add(long) - Method in class com.gigya.socialize.GSArray
 
add(double) - Method in class com.gigya.socialize.GSArray
 
add(boolean) - Method in class com.gigya.socialize.GSArray
 
add(GSObject) - Method in class com.gigya.socialize.GSArray
 
add(GSArray) - Method in class com.gigya.socialize.GSArray
 
add(Object) - Method in class com.gigya.socialize.GSArray
 
apiDomain - Variable in class com.gigya.socialize.GSRequest
 
apiMethod - Variable in class com.gigya.socialize.GSRequest
 

B

Base64 - Class in com.gigya.socialize
A very fast and memory efficient class to encode and decode to and from BASE64 in full accordance with RFC 2045.

On Windows XP sp1 with 1.4.2_04 and later ;), this encoder and decoder is about 10 times faster on small arrays (10 - 1000 bytes) and 2-3 times as fast on larger arrays (10000 - 1000000 bytes) compared to sun.misc.Encoder()/Decoder().

On byte arrays the encoder is about 20% faster than Jakarta Commons Base64 Codec for encode and about 50% faster for decoding large arrays.

Base64() - Constructor for class com.gigya.socialize.Base64
 
buildQS(GSObject) - Static method in class com.gigya.socialize.GSRequest
Converts a GSObject to a query string.

C

calcOAuth1BaseString(String, String, GSRequest) - Static method in class com.gigya.socialize.SigUtils
 
clear() - Method in class com.gigya.socialize.GSObject
Removes all of the entries from this object.
clearParams() - Method in class com.gigya.socialize.GSRequest
Clear request parameters
clone() - Method in class com.gigya.socialize.GSObject
Returns a deep copy of the object.
com.gigya.socialize - package com.gigya.socialize
 
containsKey(String) - Method in class com.gigya.socialize.GSObject
Returns true if this object contains a mapping for the specified key.

D

decode(char[]) - Static method in class com.gigya.socialize.Base64
Decodes a BASE64 encoded char array.
decode(byte[]) - Static method in class com.gigya.socialize.Base64
Decodes a BASE64 encoded byte array.
decode(String) - Static method in class com.gigya.socialize.Base64
Decodes a BASE64 encoded String.
decodeFast(char[]) - Static method in class com.gigya.socialize.Base64
Decodes a BASE64 encoded char array that is known to be resonably well formatted.
decodeFast(byte[]) - Static method in class com.gigya.socialize.Base64
Decodes a BASE64 encoded byte array that is known to be resonably well formatted.
decodeFast(String) - Static method in class com.gigya.socialize.Base64
Decodes a BASE64 encoded string that is known to be resonably well formatted.

E

ENABLE_CONNECTION_POOLING - Static variable in class com.gigya.socialize.GSRequest
 
encodeToByte(byte[], boolean) - Static method in class com.gigya.socialize.Base64
Encodes a raw byte array into a BASE64 byte[] representation i accordance with RFC 2045.
encodeToChar(byte[], boolean) - Static method in class com.gigya.socialize.Base64
Encodes a raw byte array into a BASE64 char[] representation i accordance with RFC 2045.
encodeToString(byte[], boolean) - Static method in class com.gigya.socialize.Base64
Encodes a raw byte array into a BASE64 String representation i accordance with RFC 2045.

F

format - Variable in class com.gigya.socialize.GSRequest
 

G

get(int) - Method in class com.gigya.socialize.GSArray
Get Object value at index
get(String, Object) - Method in class com.gigya.socialize.GSObject
 
get(String) - Method in class com.gigya.socialize.GSObject
 
getArray(int) - Method in class com.gigya.socialize.GSArray
Get GSArray value at index
getArray(String, GSArray) - Method in class com.gigya.socialize.GSObject
Returns the GSArray value to which the specified key is mapped, or the defaultValue if this object contains no mapping for the key.
getArray(String) - Method in class com.gigya.socialize.GSObject
Returns the GSArray value to which the specified key is mapped.
getArray(String, GSArray) - Method in class com.gigya.socialize.GSResponse
Returns the GSArray value to which the specified key is mapped, or the defaultValue if this dictionary contains no mapping for the key.
getBool(int) - Method in class com.gigya.socialize.GSArray
Get bool value at index
getBool(String, boolean) - Method in class com.gigya.socialize.GSObject
Returns the boolean value to which the specified key is mapped, or the defaultValue if this object contains no mapping for the key.
getBool(String) - Method in class com.gigya.socialize.GSObject
Returns the boolean value to which the specified key is mapped.
getBool(String, boolean) - Method in class com.gigya.socialize.GSResponse
Returns the boolean value to which the specified key is mapped, or the defaultValue if this dictionary contains no mapping for the key.
getData() - Method in class com.gigya.socialize.GSResponse
Returns the response data in GSObject.
getDouble(int) - Method in class com.gigya.socialize.GSArray
Get double value at index
getDouble(String, double) - Method in class com.gigya.socialize.GSObject
Returns the double value to which the specified key is mapped, or the defaultValue if this object contains no mapping for the key.
getDouble(String) - Method in class com.gigya.socialize.GSObject
Returns the double value to which the specified key is mapped.
getDouble(String, double) - Method in class com.gigya.socialize.GSResponse
Returns the double value to which the specified key is mapped, or the defaultValue if this dictionary contains no mapping for the key.
getDynamicSessionSignature(String, int, String) - Static method in class com.gigya.socialize.SigUtils
This is a utility method for generating the cookie value of a dynamic session expiration cookie.
getErrorCode() - Method in class com.gigya.socialize.GSResponse
Returns the result code of the operation.
getErrorDetails() - Method in class com.gigya.socialize.GSResponse
Returns a description of the response error, for logging purposes.
getErrorMessage() - Method in class com.gigya.socialize.GSResponse
Returns a short textual description of the response error, for logging purposes.
getErrorMessage(int) - Static method in class com.gigya.socialize.GSResponse
 
getHeaders() - Method in class com.gigya.socialize.GSResponse
 
getInt(int) - Method in class com.gigya.socialize.GSArray
Get int value at index
getInt(String, int) - Method in class com.gigya.socialize.GSObject
Returns the int value to which the specified key is mapped, or the defaultValue if this object contains no mapping for the key.
getInt(String) - Method in class com.gigya.socialize.GSObject
Returns the int value to which the specified key is mapped.
getInt(String, int) - Method in class com.gigya.socialize.GSResponse
Returns the int value to which the specified key is mapped, or the defaultValue if this dictionary contains no mapping for the key.
getKeys() - Method in class com.gigya.socialize.GSObject
Returns a String array containing the keys in this object.
getLog() - Method in class com.gigya.socialize.GSResponse
 
getLogger() - Method in class com.gigya.socialize.GSRequest
Retrieves the logger object
getLong(int) - Method in class com.gigya.socialize.GSArray
Get long value at index
getLong(String, long) - Method in class com.gigya.socialize.GSObject
Returns the long value to which the specified key is mapped, or the defaultValue if this object contains no mapping for the key.
getLong(String) - Method in class com.gigya.socialize.GSObject
Returns the long value to which the specified key is mapped.
getLong(String, long) - Method in class com.gigya.socialize.GSResponse
Returns the long value to which the specified key is mapped, or the defaultValue if this dictionary contains no mapping for the key.
getMap() - Method in class com.gigya.socialize.GSObject
 
getMethod() - Method in class com.gigya.socialize.GSRequest
 
getOAuth1Signature(String, String) - Static method in class com.gigya.socialize.SigUtils
 
getObject(int) - Method in class com.gigya.socialize.GSArray
Get GSObject value at index
getObject(String, GSObject) - Method in class com.gigya.socialize.GSObject
Returns the GSobject value to which the specified key is mapped, or the defaultValue if this object contains no mapping for the key.
getObject(String) - Method in class com.gigya.socialize.GSObject
Returns the GSObject value to which the specified key is mapped.
getObject(String, GSObject) - Method in class com.gigya.socialize.GSResponse
Returns the GSObject value to which the specified key is mapped, or the defaultValue if this dictionary contains no mapping for the key.
getParams() - Method in class com.gigya.socialize.GSRequest
Returns a GSObject object containing the parameters of this request.
getResponseText() - Method in class com.gigya.socialize.GSResponse
Returns the raw response data.
getString(int) - Method in class com.gigya.socialize.GSArray
Get string value at index
getString(String, String) - Method in class com.gigya.socialize.GSObject
Returns the String value to which the specified key is mapped, or the defaultValue if this object contains no mapping for the key.
getString(String) - Method in class com.gigya.socialize.GSObject
Returns the String value to which the specified key is mapped.
getString(String, String) - Method in class com.gigya.socialize.GSResponse
Returns the String value to which the specified key is mapped, or the defaultValue if this dictionary contains no mapping for the key.
getUnderlingArray() - Method in class com.gigya.socialize.GSArray
 
GSArray - Class in com.gigya.socialize
Used for passing arrays.
GSArray() - Constructor for class com.gigya.socialize.GSArray
Empty constructor
GSArray(String) - Constructor for class com.gigya.socialize.GSArray
Constructor from json string
GSArray(JSONArray) - Constructor for class com.gigya.socialize.GSArray
Constructor from JSONArray
GSException - Exception in com.gigya.socialize
General Gigya exception.
GSException(String) - Constructor for exception com.gigya.socialize.GSException
 
GSKeyNotFoundException - Exception in com.gigya.socialize
Thrown when attempting to fetch a key that does not exist.
GSKeyNotFoundException(String) - Constructor for exception com.gigya.socialize.GSKeyNotFoundException
 
GSLogger - Class in com.gigya.socialize
 
GSLogger() - Constructor for class com.gigya.socialize.GSLogger
 
GSObject - Class in com.gigya.socialize
Used for passing parameters, for example when issuing requests or receiving response data.
GSObject() - Constructor for class com.gigya.socialize.GSObject
 
GSObject(String) - Constructor for class com.gigya.socialize.GSObject
Construct a GSObject from a JSON string.
GSObject(JSONObject) - Constructor for class com.gigya.socialize.GSObject
Construct a GSObject from a JSONObject - used internally
GSRequest - Class in com.gigya.socialize
This class is used for sending a request to Gigya Service.
GSRequest(String, String) - Constructor for class com.gigya.socialize.GSRequest
 
GSRequest(String, String, GSObject) - Constructor for class com.gigya.socialize.GSRequest
 
GSRequest(String, String, String, GSObject) - Constructor for class com.gigya.socialize.GSRequest
 
GSRequest(String, String, String, boolean) - Constructor for class com.gigya.socialize.GSRequest
 
GSRequest(String, String, String) - Constructor for class com.gigya.socialize.GSRequest
 
GSRequest(String, String, String, GSObject, boolean) - Constructor for class com.gigya.socialize.GSRequest
 
GSRequest(String, String, String, String, GSObject, boolean) - Constructor for class com.gigya.socialize.GSRequest
 
GSRequest(String, String, String, GSObject, boolean, String) - Constructor for class com.gigya.socialize.GSRequest
 
GSRequest(String, String, String, String, GSObject, boolean, String) - Constructor for class com.gigya.socialize.GSRequest
Constructs a request using an apiKey and a secretKey.
GSResponse - Class in com.gigya.socialize
Wraps Gigya server's response.
GSResponse(String, GSObject, int, GSLogger) - Constructor for class com.gigya.socialize.GSResponse
 
GSResponse(String, GSObject, int, String, GSLogger) - Constructor for class com.gigya.socialize.GSResponse
 
GSResponse(String, GSObject, int, String, String, GSLogger) - Constructor for class com.gigya.socialize.GSResponse
 
GSResponse(String, String, GSLogger) - Constructor for class com.gigya.socialize.GSResponse
 
GSResponseListener - Interface in com.gigya.socialize
Interface for listening to server responses.

H

hasData() - Method in class com.gigya.socialize.GSResponse
 
headers - Variable in class com.gigya.socialize.GSResponse
 
hostOverride - Variable in class com.gigya.socialize.GSRequest
 

I

iterator() - Method in class com.gigya.socialize.GSArray
 

L

length() - Method in class com.gigya.socialize.GSArray
return the array's length

O

onGSResponse(String, GSResponse, Object) - Method in interface com.gigya.socialize.GSResponseListener
This method will be invoked after the Gigya server completes to process your request.

P

parseQueryString(String) - Method in class com.gigya.socialize.GSObject
Parses parameters from a query string into this object.
parseURL(String) - Method in class com.gigya.socialize.GSObject
Parses parameters from a URL string into this object
put(String, String) - Method in class com.gigya.socialize.GSObject
Associates the specified value with the specified key in this object.
put(String, int) - Method in class com.gigya.socialize.GSObject
Associates the specified value with the specified key in this object.
put(String, long) - Method in class com.gigya.socialize.GSObject
Associates the specified value with the specified key in this object.
put(String, double) - Method in class com.gigya.socialize.GSObject
Associates the specified value with the specified key in this object.
put(String, boolean) - Method in class com.gigya.socialize.GSObject
Associates the specified value with the specified key in this object.
put(String, GSObject) - Method in class com.gigya.socialize.GSObject
Associates the specified value with the specified key in this object.
put(String, GSArray) - Method in class com.gigya.socialize.GSObject
Associates the specified value with the specified key in this object.
put(String, Object) - Method in class com.gigya.socialize.GSObject
 

R

remove(String) - Method in class com.gigya.socialize.GSObject
Removes the key (and its corresponding value) from this object.

S

send() - Method in class com.gigya.socialize.GSRequest
Sends the request synchronously.
send(int) - Method in class com.gigya.socialize.GSRequest
Sends the request synchronously.
send(GSResponseListener) - Method in class com.gigya.socialize.GSRequest
Sends the request asynchronously.
send(GSResponseListener, Object) - Method in class com.gigya.socialize.GSRequest
Sends the request asynchronously.
sendRequest(String, String, String, GSObject, String, String, boolean, boolean, int) - Method in class com.gigya.socialize.GSRequest
Send the actual HTTP/S request
setAPIDomain(String) - Method in class com.gigya.socialize.GSRequest
Sets the domain used for making API calls.
setHostOverride(String) - Method in class com.gigya.socialize.GSRequest
 
setLogger(GSLogger) - Method in class com.gigya.socialize.GSRequest
Allows passing an existing GSLogger
setMethod(String) - Method in class com.gigya.socialize.GSRequest
 
setParam(String, String) - Method in class com.gigya.socialize.GSRequest
Sets a request parameter with a value.
setParam(String, int) - Method in class com.gigya.socialize.GSRequest
Sets a request parameter with a value.
setParam(String, long) - Method in class com.gigya.socialize.GSRequest
Sets a request parameter with a value.
setParam(String, boolean) - Method in class com.gigya.socialize.GSRequest
Sets a request parameter with a value.
setParam(String, GSObject) - Method in class com.gigya.socialize.GSRequest
Sets a request parameter with a value.
setParam(String, GSArray) - Method in class com.gigya.socialize.GSRequest
Sets a request parameter with a value.
setParams(GSObject) - Method in class com.gigya.socialize.GSRequest
Sets a GSObject object containing the parameters of this request.
setProxy(Proxy) - Method in class com.gigya.socialize.GSRequest
Sets a proxy.
setUseHTTPS(boolean) - Method in class com.gigya.socialize.GSRequest
 
SigUtils - Class in com.gigya.socialize
This class is a utility class with static methods for calculating and validating cryptographic signatures.
SigUtils() - Constructor for class com.gigya.socialize.SigUtils
 

T

timestampOffsetSec - Static variable in class com.gigya.socialize.GSRequest
 
toJsonArray() - Method in class com.gigya.socialize.GSArray
 
toJsonObject() - Method in class com.gigya.socialize.GSObject
 
toJsonString() - Method in class com.gigya.socialize.GSArray
 
toJsonString() - Method in class com.gigya.socialize.GSObject
Returns the object's content as a JSON string.
toString() - Method in class com.gigya.socialize.GSArray
 
toString() - Method in class com.gigya.socialize.GSLogger
 
toString() - Method in class com.gigya.socialize.GSObject
Returns the object's content as a JSON string.
toString() - Method in class com.gigya.socialize.GSResponse
 

U

UrlEncode(String) - Static method in class com.gigya.socialize.GSRequest
Applies URL encoding rules to the String value, and returns the outcome.
urlEncodedParam(String) - Method in class com.gigya.socialize.GSRequest
 

V

validateFriendSignature(String, String, String, String, String) - Static method in class com.gigya.socialize.SigUtils
Use this method to verify the authenticity of a socialize.getFriendsInfo API method response, to make sure it is in fact originating from Gigya, and prevent fraud.
validateUserSignature(String, String, String, String) - Static method in class com.gigya.socialize.SigUtils
Use this method to verify the authenticity of a socialize.getUserInfo API method response, to make sure it is in fact originating from Gigya, and prevent fraud.
VERSION - Static variable in class com.gigya.socialize.GSRequest
 

W

write(Object) - Method in class com.gigya.socialize.GSLogger
 
write(Exception) - Method in class com.gigya.socialize.GSLogger
 
write(String, Object) - Method in class com.gigya.socialize.GSLogger
 
writeFormat(String, Object...) - Method in class com.gigya.socialize.GSLogger
 
A B C D E F G H I L O P R S T U V W 
Skip navigation links