A B C D E F G H I J L M N O P Q R S T V W X 
All Classes All Packages

A

addFormParam(String, String) - Method in class com.gluonhq.connect.source.RestDataSource
Add a single form parameter to the request.
addHeader(String, String) - Method in class com.gluonhq.connect.source.RestDataSource
Adds a single HTTP header to the request.
addQueryParam(String, String) - Method in class com.gluonhq.connect.source.RestDataSource
Add a single query parameter to the request.
ANY - Static variable in class com.gluonhq.connect.ConnectStateEvent
Common supertype for all worker state event types.

B

BaseRestProvider - Class in com.gluonhq.connect.provider
 
BaseRestProvider(RestDataSource) - Constructor for class com.gluonhq.connect.provider.BaseRestProvider
 
BasicInputDataSource - Class in com.gluonhq.connect.source
An implementation of InputDataSource that takes any generic InputStream as its source.
BasicInputDataSource(InputStream) - Constructor for class com.gluonhq.connect.source.BasicInputDataSource
Construct a BasicInputDataSource that uses the given inputStream as its source.
BasicOutputDataSource - Class in com.gluonhq.connect.source
An implementation of OutputDataSource that takes any genericOutputStream as its source.
BasicOutputDataSource(OutputStream) - Constructor for class com.gluonhq.connect.source.BasicOutputDataSource
Construct a BasicOutputDataSource that uses the given outputStream as its source.
buildEventDispatchChain(EventDispatchChain) - Method in class com.gluonhq.connect.GluonObservableList
 
buildEventDispatchChain(EventDispatchChain) - Method in class com.gluonhq.connect.GluonObservableObject
 

C

CANCELLED - com.gluonhq.connect.ConnectState
A GluonObservable object in the CANCELLED state signals that the last executed synchronization operation was cancelled.
com.gluonhq.connect - module com.gluonhq.connect
 
com.gluonhq.connect - package com.gluonhq.connect
The package containing the base classes of the Gluon Connect framework.
com.gluonhq.connect.converter - package com.gluonhq.connect.converter
The com.gluonhq.connect.converter package contains classes that describe how to convert between Java objects and a certain data format.
com.gluonhq.connect.provider - package com.gluonhq.connect.provider
The com.gluonhq.connect.provider package contains classes that provide convenience methods to map data sources with a data format to give access to instances of GluonObservable.
com.gluonhq.connect.source - package com.gluonhq.connect.source
The com.gluonhq.connect.source package contains classes that describe from what sources data can be read from or written to.
CONNECT_STATE_CANCELLED - Static variable in class com.gluonhq.connect.ConnectStateEvent
This event occurs when the state of a GluonObservable implementation has transitioned to the CANCELLED state.
CONNECT_STATE_FAILED - Static variable in class com.gluonhq.connect.ConnectStateEvent
This event occurs when the state of a GluonObservable implementation has transitioned to the FAILED state.
CONNECT_STATE_READY - Static variable in class com.gluonhq.connect.ConnectStateEvent
This event occurs when the state of a GluonObservable implementation has transitioned to the READY state.
CONNECT_STATE_REMOVED - Static variable in class com.gluonhq.connect.ConnectStateEvent
This event occurs when the state of a GluonObservable implementation has transitioned to the REMOVED state.
CONNECT_STATE_RUNNING - Static variable in class com.gluonhq.connect.ConnectStateEvent
This event occurs when the state of a GluonObservable implementation has transitioned to the RUNNING state.
CONNECT_STATE_SUCCEEDED - Static variable in class com.gluonhq.connect.ConnectStateEvent
This event occurs when the state of a GluonObservable implementation has transitioned to the SUCCEEDED state.
ConnectState - Enum in com.gluonhq.connect
The possible states a GluonObservable can be in while a DataProvider operation is in progress.
ConnectStateEvent - Class in com.gluonhq.connect
 
ConnectStateEvent(GluonObservable, EventType<? extends ConnectStateEvent>) - Constructor for class com.gluonhq.connect.ConnectStateEvent
Create a new ConnectStateEvent.
connectTimeout(int) - Method in class com.gluonhq.connect.provider.RestClient
Sets the connect timeout for the HTTP connection, in milliseconds.
consumerKey(String) - Method in class com.gluonhq.connect.provider.RestClient
Sets the consumer key to use for creating the OAuth 1.0 signature that is sent along with the request, by setting the Authorization request header.
consumerSecret(String) - Method in class com.gluonhq.connect.provider.RestClient
Sets the consumer secret to use for creating the OAuth 1.0 signature that is sent along with the request, by setting the Authorization request header.
CONTENT_TYPE_APPLICATION_JSON - Static variable in class com.gluonhq.connect.provider.BaseRestProvider
 
CONTENT_TYPE_TEXT_PLAIN - Static variable in class com.gluonhq.connect.provider.BaseRestProvider
 
contentType(String) - Method in class com.gluonhq.connect.provider.RestClient
Sets the Content-Type request header for the HTTP connection.
create() - Static method in class com.gluonhq.connect.provider.RestClient
Create a RestClient builder for constructing a RestDataSource or one of the classes that are used in the methods of the DataProvider.
create(File) - Static method in class com.gluonhq.connect.provider.FileClient
Create a FileClient builder using the specified file as a data source.
createFileDataSource() - Method in class com.gluonhq.connect.provider.FileClient
Build a FileDataSource that can be used as an InputDataSource to read from the file or an OutputDataSource to write to the file.
createListDataReader(InputStreamIterableInputConverter<E>) - Method in class com.gluonhq.connect.provider.RestClient
Creates an instance of ListDataReader that can be passed directly in the DataProvider.retrieveList(ListDataReader) method.
createListDataReader(InputStreamIterableInputConverter<T>) - Method in class com.gluonhq.connect.provider.FileClient
Creates an instance of ListDataReader that can be passed directly in the DataProvider.retrieveList(ListDataReader) method.
createListDataReader(Class<E>) - Method in class com.gluonhq.connect.provider.RestClient
Creates an instance of ListDataReader that can be passed directly in the DataProvider.retrieveList(ListDataReader) method.
createObjectDataReader(InputStreamInputConverter<T>) - Method in class com.gluonhq.connect.provider.FileClient
Creates an instance of ObjectDataReader that can be passed directly in the DataProvider.retrieveObject(ObjectDataReader) method.
createObjectDataReader(InputStreamInputConverter<T>) - Method in class com.gluonhq.connect.provider.RestClient
Creates an instance of ObjectDataReader that can be passed directly in the DataProvider.retrieveObject(ObjectDataReader) method.
createObjectDataReader(Class<T>) - Method in class com.gluonhq.connect.provider.RestClient
Creates an instance of ObjectDataReader that can be passed directly in the DataProvider.retrieveObject(ObjectDataReader) method.
createObjectDataRemover() - Method in class com.gluonhq.connect.provider.FileClient
Creates an instance of ObjectDataRemover that can be passed directly in the DataProvider.removeObject(GluonObservableObject, ObjectDataRemover) method.
createObjectDataRemover(OutputStreamOutputConverter<T>, InputStreamInputConverter<T>) - Method in class com.gluonhq.connect.provider.RestClient
Creates an instance of ObjectDataRemover that can be passed directly in the DataProvider.removeObject(GluonObservableObject, ObjectDataRemover) method.
createObjectDataRemover(Class<T>) - Method in class com.gluonhq.connect.provider.RestClient
Creates an instance of ObjectDataRemover that can be passed directly in the DataProvider.removeObject(GluonObservableObject, ObjectDataRemover) method.
createObjectDataWriter(OutputStreamOutputConverter<T>) - Method in class com.gluonhq.connect.provider.FileClient
Creates an instance of ObjectDataWriter that can be passed directly in the DataProvider.storeObject(Object, ObjectDataWriter) method.
createObjectDataWriter(OutputStreamOutputConverter<T>, InputStreamInputConverter<T>) - Method in class com.gluonhq.connect.provider.RestClient
Creates an instance of ObjectDataWriter that can be passed directly in the DataProvider.storeObject(Object, ObjectDataWriter) method.
createObjectDataWriter(Class<T>) - Method in class com.gluonhq.connect.provider.RestClient
Creates an instance of ObjectDataWriter that can be passed directly in the DataProvider.storeObject(Object, ObjectDataWriter) method.
createRestDataSource() - Method in class com.gluonhq.connect.provider.RestClient
Build a RestDataSource that can be used as an InputDataSource to read from or an OutputDataSource to write to the HTTP connection that is created with the parameters specified by this rest client builder.

D

DataProvider - Class in com.gluonhq.connect.provider
The DataProvider is the root entry to obtain instances of GluonObservableObject and GluonObservableList.
DataProvider() - Constructor for class com.gluonhq.connect.provider.DataProvider
 
dataSource - Variable in class com.gluonhq.connect.provider.BaseRestProvider
 
dataString(String) - Method in class com.gluonhq.connect.provider.RestClient
Sets the entity to use for the HTTP connection.
doAdd(int, E) - Method in class com.gluonhq.connect.GluonObservableList
Adds the element to the List at the position of index.
doRemove(int) - Method in class com.gluonhq.connect.GluonObservableList
Removes the element at position of index.
doSet(int, E) - Method in class com.gluonhq.connect.GluonObservableList
Sets the element in the List at the position of index.

E

exceptionProperty() - Method in interface com.gluonhq.connect.GluonObservable
Holds the exception that was thrown when a synchronization operation failed.
exceptionProperty() - Method in class com.gluonhq.connect.GluonObservableList
 
exceptionProperty() - Method in class com.gluonhq.connect.GluonObservableObject
 

F

FAILED - com.gluonhq.connect.ConnectState
A GluonObservable object in the FAILED state signals that the last executed synchronization operation failed.
FileClient - Class in com.gluonhq.connect.provider
The FileClient assists in using the DataProvider with files, that are located on the local file system, as the data source.
FileDataSource - Class in com.gluonhq.connect.source
An implementation of IODataSource that can read from and write to a file.
FileDataSource(File) - Constructor for class com.gluonhq.connect.source.FileDataSource
Create a new FileDataSource instance.
fine(String) - Method in class com.gluonhq.connect.Logger
 
FINE - Static variable in class com.gluonhq.connect.Level
 
FINER - Static variable in class com.gluonhq.connect.Level
 
FINEST - Static variable in class com.gluonhq.connect.Level
 
formParam(String, String) - Method in class com.gluonhq.connect.provider.RestClient
Add a single form parameter to the request.

G

get(int) - Method in class com.gluonhq.connect.GluonObservableList
Returns the element at the specified position in this list.
getConnectTimeout() - Method in class com.gluonhq.connect.source.RestDataSource
Gets the connect timeout for the HTTP connection, in milliseconds.
getConsumerKey() - Method in class com.gluonhq.connect.source.RestDataSource
Gets the consumer key to use for creating the OAuth 1.0 signature that is sent along with the request, by setting the Authorization request header.
getConsumerSecret() - Method in class com.gluonhq.connect.source.RestDataSource
Gets the consumer secret to use for creating the OAuth 1.0 signature that is sent along with the request, by setting the Authorization request header.
getContentType() - Method in class com.gluonhq.connect.source.RestDataSource
Gets the Content-Type request header that will be set on the HTTP connection.
getDataString() - Method in class com.gluonhq.connect.source.RestDataSource
Gets the entity to use for the HTTP connection.
getException() - Method in interface com.gluonhq.connect.GluonObservable
In case an exception occurred during processing, this method will return the exception.
getException() - Method in class com.gluonhq.connect.GluonObservableList
Gets the value of the property exception.
getException() - Method in class com.gluonhq.connect.GluonObservableObject
Gets the value of the property exception.
getFile() - Method in class com.gluonhq.connect.source.FileDataSource
Returns the file that this data source is mapped to.
getFormParams() - Method in class com.gluonhq.connect.source.RestDataSource
Returns a list of form parameters that will be sent along with the request.
getHeaders() - Method in class com.gluonhq.connect.source.RestDataSource
Returns a list of HTTP headers which will be sent along with the request.
getHost() - Method in class com.gluonhq.connect.source.RestDataSource
Returns the complete host address of the URL to use for the HTTP connection.
getInputStream() - Method in class com.gluonhq.connect.converter.InputStreamInputConverter
Returns the InputStream where this InputConverter will read its data from.
getInputStream() - Method in class com.gluonhq.connect.converter.InputStreamIterableInputConverter
Returns the InputStream where this IterableInputConverter will read its data from.
getInputStream() - Method in class com.gluonhq.connect.source.BasicInputDataSource
 
getInputStream() - Method in class com.gluonhq.connect.source.FileDataSource
Returns an InputStream that is able to read data from the file that was passed in when constructing the FileDataSource.
getInputStream() - Method in interface com.gluonhq.connect.source.InputDataSource
Returns an InputStream that will be used as the source to read data from.
getInputStream() - Method in class com.gluonhq.connect.source.RestDataSource
Returns an InputStream that is able to read data from an HTTP URL that will be constructed with the settings defined on this data source.
getLogger(String) - Static method in class com.gluonhq.connect.Logger
 
getMethod() - Method in class com.gluonhq.connect.source.RestDataSource
Returns the request method to use for the HTTP connection.
getMultipartByteFields() - Method in class com.gluonhq.connect.source.RestDataSource
Returns a list of multipart binary fields that will be sent along with the request as part of the multipart form data.
getMultipartStringFields() - Method in class com.gluonhq.connect.source.RestDataSource
Returns a list of multipart form fields that will be sent along with the request as part of the multipart form data.
getOutputStream() - Method in class com.gluonhq.connect.converter.OutputStreamOutputConverter
Returns the OutputStream where this OutputConverter will write the converted object to.
getOutputStream() - Method in class com.gluonhq.connect.source.BasicOutputDataSource
 
getOutputStream() - Method in class com.gluonhq.connect.source.FileDataSource
Returns an OutputStream that is able to write data to the file that was passed in when constructing the FileDataSource.
getOutputStream() - Method in interface com.gluonhq.connect.source.OutputDataSource
Returns the OutputStream that will be used as the source to write data to.
getOutputStream() - Method in class com.gluonhq.connect.source.RestDataSource
Returns an OutputStream that is able to write data to an HTTP URL that will be constructed with the settings defined on this data source.
getPath() - Method in class com.gluonhq.connect.source.RestDataSource
Returns the entire path of the URL to use for the HTTP connection.
getQueryParams() - Method in class com.gluonhq.connect.source.RestDataSource
Returns a list of query parameters that will be sent along with the request.
getReadTimeout() - Method in class com.gluonhq.connect.source.RestDataSource
Gets the read timeout for the HTTP connection, in milliseconds.
getResponseCode() - Method in class com.gluonhq.connect.source.RestDataSource
Gets the status code from an HTTP response message.
getResponseHeaders() - Method in class com.gluonhq.connect.source.RestDataSource
Gets the response header fields from an HTTP response message.
getResponseMessage() - Method in class com.gluonhq.connect.source.RestDataSource
Gets the HTTP response message, if any, returned along with the response code from a server.
getRestDataSource() - Method in class com.gluonhq.connect.provider.BaseRestProvider
Returns the rest data source that is used as the input and output data source.
getSource() - Method in class com.gluonhq.connect.ConnectStateEvent
 
getState() - Method in interface com.gluonhq.connect.GluonObservable
Return the current state of this observable.
getState() - Method in class com.gluonhq.connect.GluonObservableList
Gets the value of the property state.
getState() - Method in class com.gluonhq.connect.GluonObservableObject
Gets the value of the property state.
getTargetClass() - Method in class com.gluonhq.connect.converter.JsonConverter
Returns the target class that defines the objects being converted from and into JSON objects.
GluonObservable - Interface in com.gluonhq.connect
This is the common interface for both GluonObservableObject and GluonObservableList.
GluonObservableList<E> - Class in com.gluonhq.connect
A GluonObservableList is an ObservableList that is linked with a data source.
GluonObservableList() - Constructor for class com.gluonhq.connect.GluonObservableList
 
GluonObservableObject<T> - Class in com.gluonhq.connect
A GluonObservableObject is an ObservableObject that is linked with a data source.
GluonObservableObject() - Constructor for class com.gluonhq.connect.GluonObservableObject
 

H

hasNext() - Method in class com.gluonhq.connect.converter.JsonIterableInputConverter
Returns true if the iteration has more elements, in this case if there are more elements to be returned from the JSON Array that was read from the InputStream.
header(String, String) - Method in class com.gluonhq.connect.provider.RestClient
Adds a single HTTP header to the request.
host(String) - Method in class com.gluonhq.connect.provider.RestClient
Sets the complete host address of the URL for the HTTP connection.

I

info(String) - Method in class com.gluonhq.connect.Logger
 
INFO - Static variable in class com.gluonhq.connect.Level
 
initializedProperty() - Method in interface com.gluonhq.connect.GluonObservable
A boolean property that is true when the observable has been initialized successfully after its initial retrieval.
initializedProperty() - Method in class com.gluonhq.connect.GluonObservableList
 
initializedProperty() - Method in class com.gluonhq.connect.GluonObservableObject
 
InputConverter<T> - Interface in com.gluonhq.connect.converter
An InputConverter is a Converter that is able to read an object from a certain input source.
InputDataSource - Interface in com.gluonhq.connect.source
An InputDataSource is a class that returns an InputStream that acts as an input source to read data from.
InputStreamInputConverter<T> - Class in com.gluonhq.connect.converter
An abstract helper class that defines an InputConverter of which the input source is a standard InputStream.
InputStreamInputConverter() - Constructor for class com.gluonhq.connect.converter.InputStreamInputConverter
 
InputStreamIterableInputConverter<E> - Class in com.gluonhq.connect.converter
An abstract helper class that defines an IterableInputConverter of which the input source is a standard InputStream.
InputStreamIterableInputConverter() - Constructor for class com.gluonhq.connect.converter.InputStreamIterableInputConverter
 
InputStreamListDataReader<E> - Class in com.gluonhq.connect.provider
A helper class that represents a ListDataReader that reads objects by reading from a specific InputDataSource and converts the read data with a specific InputStreamIterableInputConverter.
InputStreamListDataReader(InputDataSource, InputStreamIterableInputConverter<E>) - Constructor for class com.gluonhq.connect.provider.InputStreamListDataReader
Construct an instance that will use the specified data source to read data from and convert it to a list of objects with the specified converter.
InputStreamObjectDataReader<T> - Class in com.gluonhq.connect.provider
A helper class that represents an ObjectDataReader that reads an object by reading from a specific InputDataSource and converting the read data with a specific InputStreamInputConverter.
InputStreamObjectDataReader(InputDataSource, InputStreamInputConverter<T>) - Constructor for class com.gluonhq.connect.provider.InputStreamObjectDataReader
Construct an instance that will use the specified data source to read data from and convert it to an object with the specified converter.
intValue() - Method in class com.gluonhq.connect.Level
 
IODataSource - Interface in com.gluonhq.connect.source
The IODataSource is a convenience interface that extends from both InputDataSource and OutputDataSource interfaces.
isInitialized() - Method in interface com.gluonhq.connect.GluonObservable
Return the initialized state of this observable.
isInitialized() - Method in class com.gluonhq.connect.GluonObservableList
Gets the value of the property initialized.
isInitialized() - Method in class com.gluonhq.connect.GluonObservableObject
Gets the value of the property initialized.
isLoggable(Level) - Method in class com.gluonhq.connect.Logger
 
IterableInputConverter<E> - Interface in com.gluonhq.connect.converter
An IterableInputConverter is a Converter that is able to read a list of objects from a certain input source by creating an Iterator to provide that list.
iterator() - Method in interface com.gluonhq.connect.converter.IterableInputConverter
Creates an Iterator that is used to iterate over a list of objects that are read from a certain input source.
iterator() - Method in class com.gluonhq.connect.converter.JsonIterableInputConverter
Returns an Iterator that loops over the items in the JSON Array that is read from the InputStream.
iterator() - Method in class com.gluonhq.connect.provider.InputStreamListDataReader
Returns an iterator that is able to iterate over the read objects from the list.
iterator() - Method in interface com.gluonhq.connect.provider.ListDataReader
Returns an iterator that is able to iterate over the read objects from the list.
iterator() - Method in class com.gluonhq.connect.provider.RestListDataReader
 

J

JsonConverter<T> - Class in com.gluonhq.connect.converter
A utility class to convert Java objects from JSON Objects and from JSON Objects into Java objects.
JsonConverter(Class<T>) - Constructor for class com.gluonhq.connect.converter.JsonConverter
Construct a JsonConverter to convert between JSON and objects of the specified targetClass.
JsonInputConverter<T> - Class in com.gluonhq.connect.converter
An InputConverter that converts a JSON Object read from an InputStream into an object.
JsonInputConverter(Class<T>) - Constructor for class com.gluonhq.connect.converter.JsonInputConverter
Construct a new instance of a JsonInputConverter that is able to convert the data read from the InputStream into objects of the specified targetClass.
JsonIterableInputConverter<E> - Class in com.gluonhq.connect.converter
An IterableInputConverter that converts a JSON Array read from an InputStream into an Iterator that can be used to iterate over a list of objects.
JsonIterableInputConverter(Class<E>) - Constructor for class com.gluonhq.connect.converter.JsonIterableInputConverter
Construct a new instance of a JsonIterableInputConverter that is able to convert the data read from the InputStream into objects of the specified targetClass.
JsonOutputConverter<T> - Class in com.gluonhq.connect.converter
An OutputConverter that converts an object into a JSON Object that is written to an OutputStream.
JsonOutputConverter(Class<T>) - Constructor for class com.gluonhq.connect.converter.JsonOutputConverter
Construct a new instance of a JsonOutputConverter that is able to convert objects of the specified targetClass into JSON Objects and write them into the OutputStream.

L

Level - Class in com.gluonhq.connect
 
ListDataReader<E> - Interface in com.gluonhq.connect.provider
A ListDataReader is an entity that has the ability to read a list of objects.
log(Level, String) - Method in class com.gluonhq.connect.Logger
 
log(Level, String, Object...) - Method in class com.gluonhq.connect.Logger
 
log(Level, String, Throwable) - Method in class com.gluonhq.connect.Logger
 
Logger - Class in com.gluonhq.connect
 

M

method(String) - Method in class com.gluonhq.connect.provider.RestClient
Sets the request method to use for the HTTP connection.
multipartField(String, byte[]) - Method in class com.gluonhq.connect.provider.RestClient
Adds a binary field to an HTTP Multipart Form-Data request.
multipartField(String, String) - Method in class com.gluonhq.connect.provider.RestClient
Adds a form field to an HTTP Multipart Form-Data request.
MultiValuedMap<K,​V> - Class in com.gluonhq.connect
A Map of key-value pairs where a key can contain multiple values.
MultiValuedMap() - Constructor for class com.gluonhq.connect.MultiValuedMap
 

N

newGluonObservableList() - Method in class com.gluonhq.connect.provider.InputStreamListDataReader
 
newGluonObservableList() - Method in interface com.gluonhq.connect.provider.ListDataReader
Provide an instance of a GluonObservableList.
newGluonObservableList() - Method in class com.gluonhq.connect.provider.RestListDataReader
 
newGluonObservableObject() - Method in class com.gluonhq.connect.provider.InputStreamObjectDataReader
 
newGluonObservableObject() - Method in interface com.gluonhq.connect.provider.ObjectDataReader
Provide an instance of a GluonObservableObject.
newGluonObservableObject() - Method in interface com.gluonhq.connect.provider.ObjectDataWriter
Provide an instance of a GluonObservableObject.
newGluonObservableObject() - Method in class com.gluonhq.connect.provider.OutputStreamObjectDataWriter
 
newGluonObservableObject() - Method in class com.gluonhq.connect.provider.RestObjectDataReader
 
next() - Method in class com.gluonhq.connect.converter.JsonIterableInputConverter
Returns the next element in the iteration.

O

ObjectDataReader<T> - Interface in com.gluonhq.connect.provider
An ObjectDataReader is an entity that has the ability to read an object.
ObjectDataRemover<T> - Interface in com.gluonhq.connect.provider
An ObjectDataRemover is an entity that has the ability to remove an object.
ObjectDataWriter<T> - Interface in com.gluonhq.connect.provider
An ObjectDataWriter is an entity that has the ability to write an object.
OutputConverter<T> - Interface in com.gluonhq.connect.converter
An OutputConverter is a Converter that is able to write an object to a certain output source.
OutputDataSource - Interface in com.gluonhq.connect.source
An OutputDataSource is a class that returns an OutputStream that acts as an output source to write data to.
OutputStreamObjectDataWriter<T> - Class in com.gluonhq.connect.provider
A helper class that represents an ObjectDataWriter that writes an object by converting it with a specific OutputStreamOutputConverter and writing it to a specific OutputDataSource.
OutputStreamObjectDataWriter(OutputDataSource, OutputStreamOutputConverter<T>) - Constructor for class com.gluonhq.connect.provider.OutputStreamObjectDataWriter
Construct an instance that will use the specified data source to write the object to that is converted with the specified converter.
OutputStreamOutputConverter<T> - Class in com.gluonhq.connect.converter
An abstract helper class that defines an OutputConverter of which the output source is a standard OutputStream.
OutputStreamOutputConverter() - Constructor for class com.gluonhq.connect.converter.OutputStreamOutputConverter
 

P

path(String) - Method in class com.gluonhq.connect.provider.RestClient
Sets the entire path of the URL for the HTTP connection.
putMap(Map<K, V>) - Method in class com.gluonhq.connect.MultiValuedMap
Copies all of the mappings from the specified map into this map.
putSingle(K, V) - Method in class com.gluonhq.connect.MultiValuedMap
Add the provided value to the list of values associated with this key.

Q

queryParam(String, String) - Method in class com.gluonhq.connect.provider.RestClient
Add a single query parameter to the request.

R

read() - Method in interface com.gluonhq.connect.converter.InputConverter
Reads an object from a certain input source and returns it.
read() - Method in class com.gluonhq.connect.converter.JsonInputConverter
Converts a JSON Object that is read from the InputStream into an object and returns it.
read() - Method in class com.gluonhq.connect.converter.StringInputConverter
Reads a string from an InputStream.
read() - Method in class com.gluonhq.connect.converter.VoidInputConverter
Reads from an InputStream and always returns null.
read() - Method in class com.gluonhq.connect.converter.XmlInputConverter
 
readFromJson(JsonObject) - Method in class com.gluonhq.connect.converter.JsonConverter
Convert the provided JSON Object into a Java object.
readObject() - Method in class com.gluonhq.connect.provider.InputStreamObjectDataReader
Reads the object from the specified data source.
readObject() - Method in interface com.gluonhq.connect.provider.ObjectDataReader
Reads the object and returns it.
readObject() - Method in class com.gluonhq.connect.provider.RestObjectDataReader
 
readTimeout(int) - Method in class com.gluonhq.connect.provider.RestClient
Sets the read timeout for the HTTP connection, in milliseconds.
READY - com.gluonhq.connect.ConnectState
This is the initial state of a new GluonObservable object.
REMOVED - com.gluonhq.connect.ConnectState
A GluonObservable object in the REMOVED state signals that it is successfully removed after executing the DataProvider.removeObject(GluonObservableObject, ObjectDataRemover) remove operation}.
removeObject(GluonObservableObject<T>) - Method in interface com.gluonhq.connect.provider.ObjectDataRemover
Removes the object and optionally returns an object.
removeObject(GluonObservableObject<T>) - Method in class com.gluonhq.connect.provider.RestObjectDataWriterAndRemover
 
removeObject(GluonObservableObject<T>, ObjectDataRemover<T>) - Static method in class com.gluonhq.connect.provider.DataProvider
Remove the provided GluonObservableObject using the specified ObjectDataRemover.
RestClient - Class in com.gluonhq.connect.provider
The RestClient assists in using the DataProvider with HTTP URLs as the data source.
RestDataSource - Class in com.gluonhq.connect.source
An implementation of IODataSource that can read from and write to an HTTP URL resource.
RestDataSource() - Constructor for class com.gluonhq.connect.source.RestDataSource
 
RestListDataReader<E> - Class in com.gluonhq.connect.provider
 
RestListDataReader(RestDataSource, InputStreamIterableInputConverter<E>) - Constructor for class com.gluonhq.connect.provider.RestListDataReader
 
RestListDataReader(RestDataSource, Class<E>) - Constructor for class com.gluonhq.connect.provider.RestListDataReader
 
RestObjectDataReader<T> - Class in com.gluonhq.connect.provider
 
RestObjectDataReader(RestDataSource, InputStreamInputConverter<T>) - Constructor for class com.gluonhq.connect.provider.RestObjectDataReader
 
RestObjectDataReader(RestDataSource, Class<T>) - Constructor for class com.gluonhq.connect.provider.RestObjectDataReader
 
RestObjectDataWriterAndRemover<T> - Class in com.gluonhq.connect.provider
 
RestObjectDataWriterAndRemover(RestDataSource, OutputStreamOutputConverter<T>, InputStreamInputConverter<T>) - Constructor for class com.gluonhq.connect.provider.RestObjectDataWriterAndRemover
 
RestObjectDataWriterAndRemover(RestDataSource, Class<T>) - Constructor for class com.gluonhq.connect.provider.RestObjectDataWriterAndRemover
 
retrieveList(ListDataReader<E>) - Static method in class com.gluonhq.connect.provider.DataProvider
Retrieves a list using the specified ListDataReader.
retrieveObject(ObjectDataReader<T>) - Static method in class com.gluonhq.connect.provider.DataProvider
Retrieves an object using the specified ObjectDataReader.
RUNNING - com.gluonhq.connect.ConnectState
A GluonObservable object in the RUNNING state means that a synchronization operation is currently in progress.

S

setConnectTimeout(int) - Method in class com.gluonhq.connect.source.RestDataSource
Sets the connect timeout for the HTTP connection, in milliseconds.
setConsumerKey(String) - Method in class com.gluonhq.connect.source.RestDataSource
Sets the consumer key to use for creating the OAuth 1.0 signature that is sent along with the request, by setting the Authorization request header.
setConsumerSecret(String) - Method in class com.gluonhq.connect.source.RestDataSource
Sets the consumer secret to use for creating the OAuth 1.0 signature that is sent along with the request, by setting the Authorization request header.
setContentType(String) - Method in class com.gluonhq.connect.source.RestDataSource
Sets the Content-Type request header for the HTTP connection.
setDataString(String) - Method in class com.gluonhq.connect.source.RestDataSource
Sets the entity to use for the HTTP connection.
setException(Throwable) - Method in class com.gluonhq.connect.GluonObservableList
Sets the value of the property exception.
setException(Throwable) - Method in class com.gluonhq.connect.GluonObservableObject
Sets the value of the property exception.
setFormParams(MultiValuedMap<String, String>) - Method in class com.gluonhq.connect.source.RestDataSource
Sets the list of form parameters to be sent along with the request.
setHeaders(MultiValuedMap<String, String>) - Method in class com.gluonhq.connect.source.RestDataSource
Sets the list of HTTP headers to be sent along with the request.
setHost(String) - Method in class com.gluonhq.connect.source.RestDataSource
Sets the complete host address of the URL to use for the HTTP connection.
setInputStream(InputStream) - Method in class com.gluonhq.connect.converter.InputStreamInputConverter
Sets the InputStream to be used as the input source for this InputConverter.
setInputStream(InputStream) - Method in class com.gluonhq.connect.converter.InputStreamIterableInputConverter
Sets the InputStream to be used as the input source for this IterableInputConverter.
setMethod(String) - Method in class com.gluonhq.connect.source.RestDataSource
Sets the request method to use for the HTTP connection.
setMultipartByteFields(MultiValuedMap<String, byte[]>) - Method in class com.gluonhq.connect.source.RestDataSource
Sets the list of multipart binary fields that will be sent along with the request as part of the multipart form data.
setMultipartStringFields(MultiValuedMap<String, String>) - Method in class com.gluonhq.connect.source.RestDataSource
Sets the list of multipart form fields that will be sent along with the request as part of the multipart form data.
setOnCancelled(EventHandler<ConnectStateEvent>) - Method in interface com.gluonhq.connect.GluonObservable
The onCancelled event handler is called whenever the GluonObservable state transitions to the CANCELLED state.
setOnCancelled(EventHandler<ConnectStateEvent>) - Method in class com.gluonhq.connect.GluonObservableList
 
setOnCancelled(EventHandler<ConnectStateEvent>) - Method in class com.gluonhq.connect.GluonObservableObject
 
setOnFailed(EventHandler<ConnectStateEvent>) - Method in interface com.gluonhq.connect.GluonObservable
The onFailed event handler is called whenever the GluonObservable state transitions to the FAILED state.
setOnFailed(EventHandler<ConnectStateEvent>) - Method in class com.gluonhq.connect.GluonObservableList
 
setOnFailed(EventHandler<ConnectStateEvent>) - Method in class com.gluonhq.connect.GluonObservableObject
 
setOnReady(EventHandler<ConnectStateEvent>) - Method in interface com.gluonhq.connect.GluonObservable
The onReady event handler is called whenever the GluonObservable state transitions to the READY state.
setOnReady(EventHandler<ConnectStateEvent>) - Method in class com.gluonhq.connect.GluonObservableList
 
setOnReady(EventHandler<ConnectStateEvent>) - Method in class com.gluonhq.connect.GluonObservableObject
 
setOnRemoved(EventHandler<ConnectStateEvent>) - Method in interface com.gluonhq.connect.GluonObservable
The onRemoved event handler is called whenever the GluonObservable state transitions to the REMOVED state.
setOnRemoved(EventHandler<ConnectStateEvent>) - Method in class com.gluonhq.connect.GluonObservableList
 
setOnRemoved(EventHandler<ConnectStateEvent>) - Method in class com.gluonhq.connect.GluonObservableObject
 
setOnRunning(EventHandler<ConnectStateEvent>) - Method in interface com.gluonhq.connect.GluonObservable
The onRunning event handler is called whenever the GluonObservable state transitions to the RUNNING state.
setOnRunning(EventHandler<ConnectStateEvent>) - Method in class com.gluonhq.connect.GluonObservableList
 
setOnRunning(EventHandler<ConnectStateEvent>) - Method in class com.gluonhq.connect.GluonObservableObject
 
setOnSucceeded(EventHandler<ConnectStateEvent>) - Method in interface com.gluonhq.connect.GluonObservable
The onSucceeded event handler is called whenever the GluonObservable state transitions to the SUCCEEDED state.
setOnSucceeded(EventHandler<ConnectStateEvent>) - Method in class com.gluonhq.connect.GluonObservableList
 
setOnSucceeded(EventHandler<ConnectStateEvent>) - Method in class com.gluonhq.connect.GluonObservableObject
 
setOutputStream(OutputStream) - Method in class com.gluonhq.connect.converter.OutputStreamOutputConverter
Sets the OutputStream to be used as the output source for this OutputConverter.
setPath(String) - Method in class com.gluonhq.connect.source.RestDataSource
Sets the entire path of the URL to use for the HTTP connection.
setQueryParams(MultiValuedMap<String, String>) - Method in class com.gluonhq.connect.source.RestDataSource
Sets the list of query parameters to be sent along with the request.
setReadTimeout(int) - Method in class com.gluonhq.connect.source.RestDataSource
Sets the read timeout for the HTTP connection, in milliseconds.
setState(ConnectState) - Method in class com.gluonhq.connect.GluonObservableList
Sets the value of the property state.
setState(ConnectState) - Method in class com.gluonhq.connect.GluonObservableObject
Sets the value of the property state.
SEVERE - Static variable in class com.gluonhq.connect.Level
 
size() - Method in class com.gluonhq.connect.GluonObservableList
Returns the number of elements in this list.
stateProperty() - Method in interface com.gluonhq.connect.GluonObservable
Holds the current state of this observable.
stateProperty() - Method in class com.gluonhq.connect.GluonObservableList
 
stateProperty() - Method in class com.gluonhq.connect.GluonObservableObject
 
storeObject(T, ObjectDataWriter<T>) - Static method in class com.gluonhq.connect.provider.DataProvider
Writes the object by using the specified ObjectDataWriter.
StringInputConverter - Class in com.gluonhq.connect.converter
An InputConverter that reads a string from an InputStream.
StringInputConverter() - Constructor for class com.gluonhq.connect.converter.StringInputConverter
 
StringOutputConverter - Class in com.gluonhq.connect.converter
An OutputConverter that writes a string to an OutputStream.
StringOutputConverter() - Constructor for class com.gluonhq.connect.converter.StringOutputConverter
 
SUCCEEDED - com.gluonhq.connect.ConnectState
A GluonObservable object in the SUCCEEDED state signals that the last executed synchronization operation completed successfully.

T

targetClass - Variable in class com.gluonhq.connect.provider.RestObjectDataReader
 
toString() - Method in class com.gluonhq.connect.provider.RestClient
 

V

valueOf(String) - Static method in enum com.gluonhq.connect.ConnectState
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.gluonhq.connect.ConnectState
Returns an array containing the constants of this enum type, in the order they are declared.
VoidInputConverter - Class in com.gluonhq.connect.converter
An InputConverter that reads the entire InputStream, while discarding its contents.
VoidInputConverter() - Constructor for class com.gluonhq.connect.converter.VoidInputConverter
 
VoidOutputConverter - Class in com.gluonhq.connect.converter
An OutputConverter that doesn't write anything to an OutputStream.
VoidOutputConverter() - Constructor for class com.gluonhq.connect.converter.VoidOutputConverter
 

W

warning(String) - Method in class com.gluonhq.connect.Logger
 
WARNING - Static variable in class com.gluonhq.connect.Level
 
write(String) - Method in class com.gluonhq.connect.converter.StringOutputConverter
 
write(Void) - Method in class com.gluonhq.connect.converter.VoidOutputConverter
Just closes the provided OutputStream.
write(T) - Method in class com.gluonhq.connect.converter.JsonOutputConverter
Converts an object into a JSON Object that is written to the InputStream.
write(T) - Method in interface com.gluonhq.connect.converter.OutputConverter
Writes an object to a certain output source.
writeObject(T) - Method in interface com.gluonhq.connect.provider.ObjectDataWriter
Writes the object and optionally returns one.
writeObject(T) - Method in class com.gluonhq.connect.provider.OutputStreamObjectDataWriter
Writes the object to the specified data source and returns an Optional that contains the exact same object instance that was passed in.
writeObject(T) - Method in class com.gluonhq.connect.provider.RestObjectDataWriterAndRemover
 
writeToJson(T) - Method in class com.gluonhq.connect.converter.JsonConverter
Convert the provided Java object into a JSON Object.

X

XmlInputConverter<T> - Class in com.gluonhq.connect.converter
An InputConverter that converts a XML Object read from an InputStream into an object.
XmlInputConverter(Class<T>) - Constructor for class com.gluonhq.connect.converter.XmlInputConverter
Construct a new instance of a XmlInputConverter that is able to convert the data read from the InputStream into objects of the specified targetClass.
XmlInputConverter(Class<T>, String) - Constructor for class com.gluonhq.connect.converter.XmlInputConverter
Construct a new instance of a XmlInputConverter that is able to convert the data read from the InputStream into objects of the specified targetClass.
A B C D E F G H I J L M N O P Q R S T V W X 
All Classes All Packages