Interface | Description |
---|---|
DataSource<U,V> |
Data sources act as brokers of information, fetching a response of one
type, using a request of another type.
|
QueryCoder<Q extends Query,U> |
Query coders serve to transform/translate a Query into an intermediate
form that is compatible with the DataSource.
|
ResponseDecoder<R extends Response<?>,V> |
Response decoders transform the raw response data from a compatible
DataSource instance, and return a standardized Response.
|
ResultFinder<Q extends Query,R extends Response<? extends Entity>> |
ResultFinder instances link
together the dataflow of the conversion of a
Query to a
Response via the following steps: |
Class | Description |
---|---|
Client |
The Client class is the starting point for interaction with the Whitepages
API, serving as the starting place for making requests and getting results.
|
Config |
The configuration data class.
|
ResultFinderFactory | |
ResultFinderImpl<Q extends Query,R extends Response<? extends Entity>,U,V> |
A standardized, generic implementation of
ResultFinder that properly
threads together the QueryCoder , DataSource , and
ResponseDecoder to execute a find request. |
Exception | Description |
---|---|
AuthException |
Copyright 2015 Whitepages, Inc.
|
DataSourceException |
Copyright 2015 Whitepages, Inc.
|
FindException |
Copyright 2015 Whitepages, Inc.
|
InternalException |
Copyright 2015 Whitepages, Inc.
|
QueryCoderException |
Copyright 2015 Whitepages, Inc.
|
QuotaExceededException |
Copyright 2015 Whitepages, Inc.
|
ResponseDecoderException |
Copyright 2015 Whitepages, Inc.
|
ResponseException |
Copyright 2015 Whitepages, Inc.
|
TimeoutException |
Copyright 2015 Whitepages, Inc.
|