A C D E F G H I O P Q R S U

A

accept(String...) - Method in interface org.apache.wink.client.Resource
Add values to the Accept header.
accept(MediaType...) - Method in interface org.apache.wink.client.Resource
Add values to the Accept header.
acceptLanguage(String...) - Method in interface org.apache.wink.client.Resource
Add values to the Accept-Language header.
acceptLanguage(Locale...) - Method in interface org.apache.wink.client.Resource
Add values to the Accept-Language header.
adapt(InputStream, ClientResponse) - Method in interface org.apache.wink.client.handlers.InputStreamAdapter
This method is called in order to wrap the response input stream with another input stream to allow the manipulation of the response entity stream.
adapt(OutputStream, ClientRequest) - Method in interface org.apache.wink.client.handlers.OutputStreamAdapter
This method is called in order to wrap the request output stream with another output stream to allow the manipulation of the request entity stream.
addInputStreamAdapter(InputStreamAdapter) - Method in interface org.apache.wink.client.handlers.HandlerContext
Add an InputStreamAdapter to adapt the response input stream
addOutputStreamAdapter(OutputStreamAdapter) - Method in interface org.apache.wink.client.handlers.HandlerContext
Add an OutputStreamAdapter to adapt the request output stream
applications(Application...) - Method in class org.apache.wink.client.ClientConfig
Add applications
attribute(String, Object) - Method in interface org.apache.wink.client.Resource
Set an attribute on the resource.
attribute(String) - Method in interface org.apache.wink.client.Resource
Get an attribute

C

ClientConfig - Class in org.apache.wink.client
Provides client configuration.
ClientConfig() - Constructor for class org.apache.wink.client.ClientConfig
Construct a new ClientConfig with the following default settings: proxy: none connect timeout: 60 seconds read timeout: 60 seconds follow redirects: true
ClientConfigException - Exception in org.apache.wink.client
Exception that is thrown for illegal configuration operations
ClientConfigException() - Constructor for exception org.apache.wink.client.ClientConfigException
 
ClientConfigException(String, Throwable) - Constructor for exception org.apache.wink.client.ClientConfigException
 
ClientConfigException(String) - Constructor for exception org.apache.wink.client.ClientConfigException
 
ClientConfigException(Throwable) - Constructor for exception org.apache.wink.client.ClientConfigException
 
ClientHandler - Interface in org.apache.wink.client.handlers
Interface that all client handlers must implement
ClientRequest - Interface in org.apache.wink.client
Represents a request issued by invoking any one of the invocation methods on a Resource.
ClientResponse - Interface in org.apache.wink.client
Represents an http response that was received after invoking any one of the invocation methods on a Resource.
ClientRuntimeException - Exception in org.apache.wink.client
Exception used to indicate runtime exception during client invocations
ClientRuntimeException() - Constructor for exception org.apache.wink.client.ClientRuntimeException
 
ClientRuntimeException(String, Throwable) - Constructor for exception org.apache.wink.client.ClientRuntimeException
 
ClientRuntimeException(String) - Constructor for exception org.apache.wink.client.ClientRuntimeException
 
ClientRuntimeException(Throwable) - Constructor for exception org.apache.wink.client.ClientRuntimeException
 
ClientWebException - Exception in org.apache.wink.client
An exception that indicates that an http error code was returned from the server
ClientWebException(ClientRequest, ClientResponse) - Constructor for exception org.apache.wink.client.ClientWebException
 
clone() - Method in class org.apache.wink.client.ClientConfig
 
ConnectionHandler - Interface in org.apache.wink.client.handlers
Interface for specifying that a handler is the connection handler and is the last handler on the handler chain
connectTimeout(int) - Method in class org.apache.wink.client.ClientConfig
Set the connect timeout in milliseconds
contentType(String) - Method in interface org.apache.wink.client.Resource
Set the Content-Type header, overriding any previous value.
contentType(MediaType) - Method in interface org.apache.wink.client.Resource
Set the Content-Type header, overriding any previous value.
cookie(String) - Method in interface org.apache.wink.client.Resource
Add a Cookie value.
cookie(Cookie) - Method in interface org.apache.wink.client.Resource
Add a Cookie value.

D

delete(Class<T>) - Method in interface org.apache.wink.client.Resource
Invoke the DELETE method
delete(EntityType<T>) - Method in interface org.apache.wink.client.Resource
Invoke the DELETE method
delete() - Method in interface org.apache.wink.client.Resource
Invoke the DELETE method
doChain(ClientRequest) - Method in interface org.apache.wink.client.handlers.HandlerContext
Call the next handler on the chain.

E

EntityType<T> - Class in org.apache.wink.client
The EntityType is used to specify the class type and the generic type of responses.
EntityType() - Constructor for class org.apache.wink.client.EntityType
Construct a new entity type.

F

followRedirects(boolean) - Method in class org.apache.wink.client.ClientConfig
Set whether to client will automatically follow redirects

G

get(Class<T>) - Method in interface org.apache.wink.client.Resource
Invoke the GET method
get(EntityType<T>) - Method in interface org.apache.wink.client.Resource
Invoke the GET method
get() - Method in interface org.apache.wink.client.Resource
Invoke the GET method
getApplications() - Method in class org.apache.wink.client.ClientConfig
Get an unmodifiable list of the applications
getConfig() - Method in class org.apache.wink.client.RestClient
Get the unmodifiable client configuration
getConnectionHandler() - Method in class org.apache.wink.client.ClientConfig
Returns the client handler that acts as the connection handler.
getConnectTimeout() - Method in class org.apache.wink.client.ClientConfig
Get the connect timeout in milliseconds
getEntity() - Method in interface org.apache.wink.client.ClientRequest
Get the request entity to send with the request.
getEntity(Class<T>) - Method in interface org.apache.wink.client.ClientResponse
Get the response entity.
getEntity(EntityType<T>) - Method in interface org.apache.wink.client.ClientResponse
Get the response entity.
getHandlers() - Method in class org.apache.wink.client.ClientConfig
Get an unmodifiable list of the client handlers
getInputStreamAdapters() - Method in interface org.apache.wink.client.handlers.HandlerContext
Get an unmodifiable list of input stream adapters
getMessage() - Method in interface org.apache.wink.client.ClientResponse
Get the response message
getMethod() - Method in interface org.apache.wink.client.ClientRequest
Get the http method
getOutputStreamAdapters() - Method in interface org.apache.wink.client.handlers.HandlerContext
Get an unmodifiable list of output stream adapters
getProxyHost() - Method in class org.apache.wink.client.ClientConfig
Get the proxy host
getProxyPort() - Method in class org.apache.wink.client.ClientConfig
Get the proxy port
getRawClass() - Method in class org.apache.wink.client.EntityType
 
getReadTimeout() - Method in class org.apache.wink.client.ClientConfig
Get the read timeout in milliseconds
getRequest() - Method in exception org.apache.wink.client.ClientWebException
Get the ClientRequest of the invocation
getResponse() - Method in exception org.apache.wink.client.ClientWebException
Get the ClientResponse of the invocation
getStatusCode() - Method in interface org.apache.wink.client.ClientResponse
Get the response status code
getType() - Method in class org.apache.wink.client.EntityType
 
getURI() - Method in interface org.apache.wink.client.ClientRequest
Get the uri of the request
getUriBuilder() - Method in interface org.apache.wink.client.Resource
Get the UriBuilder associated with this resource.

H

handle(ClientRequest, HandlerContext) - Method in interface org.apache.wink.client.handlers.ClientHandler
This method is invoked for every request invocation to allow the handler to perform custom actions during the invocation.
HandlerContext - Interface in org.apache.wink.client.handlers
The handler context is used by handlers to call the next handler on the chain.
handlers(ClientHandler...) - Method in class org.apache.wink.client.ClientConfig
Add client handlers
head() - Method in interface org.apache.wink.client.Resource
Invoke the HEAD method
header(String, String...) - Method in interface org.apache.wink.client.Resource
Add a request header to be used in every invocation

I

InputStreamAdapter - Interface in org.apache.wink.client.handlers
Interface for adapting the input stream
invoke(String, Class<T>, Object) - Method in interface org.apache.wink.client.Resource
Invoke a request to the uri associated with the resource, and with any headers and attributes set on the resource.
invoke(String, EntityType<T>, Object) - Method in interface org.apache.wink.client.Resource
Invoke a request to the uri associated with the resource, and with any headers and attributes set on the resource.
isFollowRedirects() - Method in class org.apache.wink.client.ClientConfig
Returns whether to client will automatically follow redirects

O

options() - Method in interface org.apache.wink.client.Resource
Invoke the OPTIONS method
org.apache.wink.client - package org.apache.wink.client
 
org.apache.wink.client.handlers - package org.apache.wink.client.handlers
 
OutputStreamAdapter - Interface in org.apache.wink.client.handlers
Interface for adapting the output stream

P

post(Class<T>, Object) - Method in interface org.apache.wink.client.Resource
Invoke the POST method
post(EntityType<T>, Object) - Method in interface org.apache.wink.client.Resource
Invoke the POST method
post(Object) - Method in interface org.apache.wink.client.Resource
Invoke the POST method
proxyHost(String) - Method in class org.apache.wink.client.ClientConfig
Set the proxy host
proxyPort(int) - Method in class org.apache.wink.client.ClientConfig
Set the proxy port
put(Class<T>, Object) - Method in interface org.apache.wink.client.Resource
Invoke the PUT method
put(EntityType<T>, Object) - Method in interface org.apache.wink.client.Resource
Invoke the PUT method
put(Object) - Method in interface org.apache.wink.client.Resource
Invoke the PUT method

Q

queryParam(String, Object...) - Method in interface org.apache.wink.client.Resource
Add a query parameter to the uri
queryParams(MultivaluedMap<String, String>) - Method in interface org.apache.wink.client.Resource
Add all the query parameters from the provided multivalued map.

R

readTimeout(int) - Method in class org.apache.wink.client.ClientConfig
Set the read timeout in milliseconds
Resource - Interface in org.apache.wink.client
Represents a web resource, enabling the invocation of different http methods
resource(URI) - Method in class org.apache.wink.client.RestClient
Create a new Resource instance
resource(String) - Method in class org.apache.wink.client.RestClient
Create a new Resource instance
RestClient - Class in org.apache.wink.client
The RestClient is the entry point for all rest service operations.
RestClient() - Constructor for class org.apache.wink.client.RestClient
Construct a new RestClient using the default client configuration
RestClient(ClientConfig) - Constructor for class org.apache.wink.client.RestClient
Construct a new RestClient using the supplied configuration

S

setEntity(Object) - Method in interface org.apache.wink.client.ClientRequest
Set the request entity to send with the request.
setEntity(Object) - Method in interface org.apache.wink.client.ClientResponse
Set the response entity
setMessage(String) - Method in interface org.apache.wink.client.ClientResponse
Set the response message
setMethod(String) - Method in interface org.apache.wink.client.ClientRequest
Set the http method
setStatusCode(int) - Method in interface org.apache.wink.client.ClientResponse
Set the response status code
setURI(URI) - Method in interface org.apache.wink.client.ClientRequest
Set the uri of the request

U

uri(URI) - Method in interface org.apache.wink.client.Resource
Set the uri of this resource and create a new UriBuilder
uri(String) - Method in interface org.apache.wink.client.Resource
Set the uri of this resource and create a new UriBuilder

A C D E F G H I O P Q R S U

Copyright © 2009 The Apache Software Foundation. All Rights Reserved.