Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
L
M
N
O
P
Q
R
S
U
V
A
add(String, String)
- Method in class org.apache.pivot.web.
QueryDictionary
authenticate(Query<?>)
- Method in interface org.apache.pivot.web.
Authentication
authenticate(Query<?>)
- Method in class org.apache.pivot.web.
BasicAuthentication
Authentication
- Interface in
org.apache.pivot.web
Interface for attaching authentication information to a web query.
B
BAD_REQUEST
- Static variable in class org.apache.pivot.web.
Query.Status
BasicAuthentication
- Class in
org.apache.pivot.web
Implementation of the
Authentication
interface supporting the HTTP
Basic Authentication
scheme.
BasicAuthentication(String, String)
- Constructor for class org.apache.pivot.web.
BasicAuthentication
C
clear()
- Method in class org.apache.pivot.web.
QueryDictionary
CONFLICT
- Static variable in class org.apache.pivot.web.
Query.Status
connected(Query<V>)
- Method in class org.apache.pivot.web.
QueryListener.Adapter
connected(Query<V>)
- Method in interface org.apache.pivot.web.
QueryListener
Called when a query has connected to the server but the request has not yet been sent.
containsKey(String)
- Method in class org.apache.pivot.web.
QueryDictionary
CREATED
- Static variable in class org.apache.pivot.web.
Query.Status
D
DEFAULT_PORT
- Static variable in class org.apache.pivot.web.
Query
DeleteQuery
- Class in
org.apache.pivot.web
Executes an HTTP DELETE operation.
DeleteQuery(String, String)
- Constructor for class org.apache.pivot.web.
DeleteQuery
DeleteQuery(String, int, String, boolean)
- Constructor for class org.apache.pivot.web.
DeleteQuery
DeleteQuery(String, int, String, boolean, ExecutorService)
- Constructor for class org.apache.pivot.web.
DeleteQuery
E
execute()
- Method in class org.apache.pivot.web.
DeleteQuery
Synchronously executes the DELETE operation.
execute()
- Method in class org.apache.pivot.web.
GetQuery
Synchronously executes the GET operation.
execute()
- Method in class org.apache.pivot.web.
PostQuery
Synchronously executes the POST operation.
execute()
- Method in class org.apache.pivot.web.
PutQuery
Synchronously executes the PUT operation.
execute(Query.Method, Object)
- Method in class org.apache.pivot.web.
Query
F
failed(Query<V>)
- Method in class org.apache.pivot.web.
QueryListener.Adapter
failed(Query<V>)
- Method in interface org.apache.pivot.web.
QueryListener
Called when an error has occurred
FORBIDDEN
- Static variable in class org.apache.pivot.web.
Query.Status
G
get(String)
- Method in class org.apache.pivot.web.
QueryDictionary
get(String, int)
- Method in class org.apache.pivot.web.
QueryDictionary
getBytesExpected()
- Method in class org.apache.pivot.web.
Query
Gets the number of bytes that are expected to be received from the server in the body of the server's HTTP response.
getBytesReceived()
- Method in class org.apache.pivot.web.
Query
Gets the number of bytes that have been received from the server in the body of the server's HTTP response.
getBytesSent()
- Method in class org.apache.pivot.web.
Query
Gets the number of bytes that have been sent in the body of this query's HTTP request.
getHostname()
- Method in class org.apache.pivot.web.
Query
getHostnameVerifier()
- Method in class org.apache.pivot.web.
Query
getLength(String)
- Method in class org.apache.pivot.web.
QueryDictionary
getLocalizedMessage()
- Method in exception org.apache.pivot.web.
QueryException
getLocation()
- Method in class org.apache.pivot.web.
Query
getMethod()
- Method in class org.apache.pivot.web.
DeleteQuery
getMethod()
- Method in class org.apache.pivot.web.
GetQuery
getMethod()
- Method in class org.apache.pivot.web.
PostQuery
getMethod()
- Method in class org.apache.pivot.web.
PutQuery
getMethod()
- Method in class org.apache.pivot.web.
Query
getParameters()
- Method in class org.apache.pivot.web.
Query
Returns the web query's parameter dictionary.
getPassword()
- Method in class org.apache.pivot.web.
BasicAuthentication
getPath()
- Method in class org.apache.pivot.web.
Query
getPort()
- Method in class org.apache.pivot.web.
Query
getProxy()
- Method in class org.apache.pivot.web.
Query
Gets the proxy associated with this query.
GetQuery
- Class in
org.apache.pivot.web
Executes an HTTP GET operation.
GetQuery(String, String)
- Constructor for class org.apache.pivot.web.
GetQuery
GetQuery(String, int, String, boolean)
- Constructor for class org.apache.pivot.web.
GetQuery
GetQuery(String, int, String, boolean, ExecutorService)
- Constructor for class org.apache.pivot.web.
GetQuery
getQueryListeners()
- Method in class org.apache.pivot.web.
Query
Returns the query listener list.
getRequestHeaders()
- Method in class org.apache.pivot.web.
Query
Returns the web query's request header dictionary.
getResponseHeaders()
- Method in class org.apache.pivot.web.
Query
Returns the web query's response header dictionary.
getSerializer()
- Method in class org.apache.pivot.web.
Query
Returns the serializer used to stream the value passed to or from the web query.
getStatus()
- Method in class org.apache.pivot.web.
Query
Returns the status of the most recent execution.
getStatus()
- Method in exception org.apache.pivot.web.
QueryException
Returns the HTTP status code corresponding to the exception.
getUsername()
- Method in class org.apache.pivot.web.
BasicAuthentication
getValue()
- Method in class org.apache.pivot.web.
PostQuery
Returns the value that will be POSTed to the server when the query is executed.
getValue()
- Method in class org.apache.pivot.web.
PutQuery
Returns the value that will be PUT to the server when the query is executed.
H
HTTP_VERSION_NOT_SUPPORTED
- Static variable in class org.apache.pivot.web.
Query.Status
I
insert(String, String, int)
- Method in class org.apache.pivot.web.
QueryDictionary
INTERNAL_SERVER_ERROR
- Static variable in class org.apache.pivot.web.
Query.Status
isSecure()
- Method in class org.apache.pivot.web.
Query
iterator()
- Method in class org.apache.pivot.web.
QueryDictionary
L
LENGTH_REQUIRED
- Static variable in class org.apache.pivot.web.
Query.Status
M
METHOD
- Static variable in class org.apache.pivot.web.
DeleteQuery
METHOD
- Static variable in class org.apache.pivot.web.
GetQuery
METHOD
- Static variable in class org.apache.pivot.web.
PostQuery
METHOD
- Static variable in class org.apache.pivot.web.
PutQuery
METHOD_NOT_ALLOWED
- Static variable in class org.apache.pivot.web.
Query.Status
N
NO_CONTENT
- Static variable in class org.apache.pivot.web.
Query.Status
NOT_FOUND
- Static variable in class org.apache.pivot.web.
Query.Status
NOT_IMPLEMENTED
- Static variable in class org.apache.pivot.web.
Query.Status
O
OK
- Static variable in class org.apache.pivot.web.
Query.Status
org.apache.pivot.web
- package org.apache.pivot.web
Provides classes for communicating with HTTP-based web services.
P
PostQuery
- Class in
org.apache.pivot.web
Executes an HTTP POST operation.
PostQuery(String, String)
- Constructor for class org.apache.pivot.web.
PostQuery
PostQuery(String, int, String, boolean)
- Constructor for class org.apache.pivot.web.
PostQuery
PostQuery(String, int, String, boolean, ExecutorService)
- Constructor for class org.apache.pivot.web.
PostQuery
PRECONDITION_FAILED
- Static variable in class org.apache.pivot.web.
Query.Status
put(String, String)
- Method in class org.apache.pivot.web.
QueryDictionary
PutQuery
- Class in
org.apache.pivot.web
Executes an HTTP PUT operation.
PutQuery(String, String)
- Constructor for class org.apache.pivot.web.
PutQuery
PutQuery(String, int, String, boolean)
- Constructor for class org.apache.pivot.web.
PutQuery
PutQuery(String, int, String, boolean, ExecutorService)
- Constructor for class org.apache.pivot.web.
PutQuery
Q
Query
<
V
> - Class in
org.apache.pivot.web
Abstract base class for web queries.
Query(String, int, String, boolean, ExecutorService)
- Constructor for class org.apache.pivot.web.
Query
Creates a new web query.
Query.Method
- Enum in
org.apache.pivot.web
Supported HTTP methods.
Query.Status
- Class in
org.apache.pivot.web
Query status codes.
Query.Status()
- Constructor for class org.apache.pivot.web.
Query.Status
QueryDictionary
- Class in
org.apache.pivot.web
Represents a collection of keyed data associated with a query.
QueryDictionary(boolean)
- Constructor for class org.apache.pivot.web.
QueryDictionary
QueryException
- Exception in
org.apache.pivot.web
Thrown when an error occurs while executing a web query.
QueryException(int)
- Constructor for exception org.apache.pivot.web.
QueryException
QueryException(int, String)
- Constructor for exception org.apache.pivot.web.
QueryException
QueryException(Throwable)
- Constructor for exception org.apache.pivot.web.
QueryException
QueryListener
<
V
> - Interface in
org.apache.pivot.web
Query listener interface.
QueryListener.Adapter
<
V
> - Class in
org.apache.pivot.web
Query listener adapter.
QueryListener.Adapter()
- Constructor for class org.apache.pivot.web.
QueryListener.Adapter
R
remove(String)
- Method in class org.apache.pivot.web.
QueryDictionary
remove(String, int)
- Method in class org.apache.pivot.web.
QueryDictionary
REQUEST_ENTITY_TOO_LARGE
- Static variable in class org.apache.pivot.web.
Query.Status
REQUEST_TIMEOUT
- Static variable in class org.apache.pivot.web.
Query.Status
REQUEST_URI_TOO_LONG
- Static variable in class org.apache.pivot.web.
Query.Status
requestSent(Query<V>)
- Method in class org.apache.pivot.web.
QueryListener.Adapter
requestSent(Query<V>)
- Method in interface org.apache.pivot.web.
QueryListener
Called when the request has been sent to the server but the response has not yet been received.
responseReceived(Query<V>)
- Method in class org.apache.pivot.web.
QueryListener.Adapter
responseReceived(Query<V>)
- Method in interface org.apache.pivot.web.
QueryListener
Called when a response has been received from the server.
S
SERVICE_UNAVAILABLE
- Static variable in class org.apache.pivot.web.
Query.Status
setHostnameVerifier(HostnameVerifier)
- Method in class org.apache.pivot.web.
Query
setProxy(Proxy)
- Method in class org.apache.pivot.web.
Query
Sets the proxy associated with this query.
setSerializer(Serializer<?>)
- Method in class org.apache.pivot.web.
Query
Sets the serializer used to stream the value passed to or from the web query.
setValue(Object)
- Method in class org.apache.pivot.web.
PostQuery
Sets the value that will be POSTed to the server when the query is executed.
setValue(Object)
- Method in class org.apache.pivot.web.
PutQuery
Sets the value that will be PUT to the server when the query is executed.
U
UNAUTHORIZED
- Static variable in class org.apache.pivot.web.
Query.Status
UNSUPPORTED_MEDIA_TYPE
- Static variable in class org.apache.pivot.web.
Query.Status
V
valueOf(String)
- Static method in enum org.apache.pivot.web.
Query.Method
Returns the enum constant of this type with the specified name.
values()
- Static method in enum org.apache.pivot.web.
Query.Method
Returns an array containing the constants of this enum type, in the order they are declared.
A
B
C
D
E
F
G
H
I
L
M
N
O
P
Q
R
S
U
V
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes