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

A

AbstractAuthSecurityHandler - Class in org.apache.wink.client.handlers
 
AbstractAuthSecurityHandler() - Constructor for class org.apache.wink.client.handlers.AbstractAuthSecurityHandler
 
AbstractAuthSecurityHandler(String, String) - Constructor for class org.apache.wink.client.handlers.AbstractAuthSecurityHandler
 
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.
acceptHeaderAutoSet(boolean) - Method in class org.apache.wink.client.ClientConfig
Set whether client will automatically set an appropriate 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

B

BasicAuthSecurityHandler - Class in org.apache.wink.client.handlers
SecurityHandler for a client to perform http basic auth:

Usage:
ClientConfig config = new ClientConfig();
BasicAuthSecurityHandler basicAuthSecHandler = new BasicAuthSecurityHandler(); basicAuthSecHandler.setUserName("username"); basicAuthSecHandler.setPassword("password"); config.handlers(basicAuthSecurityHandler);
// create the rest client instance
RestClient client = new RestClient(config);
// create the resource instance to interact with Resource
resource = client.resource("https://localhost:8080/path/to/resource");

BasicAuthSecurityHandler() - Constructor for class org.apache.wink.client.handlers.BasicAuthSecurityHandler
 
BasicAuthSecurityHandler(String, String) - Constructor for class org.apache.wink.client.handlers.BasicAuthSecurityHandler
 

C

ClientAuthenticationException - Exception in org.apache.wink.client
A clientruntime exception thrown for security authentication related exceptions.
ClientAuthenticationException() - Constructor for exception org.apache.wink.client.ClientAuthenticationException
 
ClientAuthenticationException(String) - Constructor for exception org.apache.wink.client.ClientAuthenticationException
 
ClientAuthenticationException(String, Throwable) - Constructor for exception org.apache.wink.client.ClientAuthenticationException
 
ClientAuthenticationException(Throwable) - Constructor for exception org.apache.wink.client.ClientAuthenticationException
 
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
Convenience method to set the wink.client.connectTimeout property
consumeContent() - Method in interface org.apache.wink.client.ClientResponse
Consumes entity content.
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
getBypassHostnameVerification() - Method in class org.apache.wink.client.ClientConfig
Get whether or not hostname verification will be bypassed for SSL certificates.
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
Convenience method to get the int value of the wink.client.connectTimeout property
getEncodedString(String, String) - Static method in class org.apache.wink.client.handlers.AbstractAuthSecurityHandler
 
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
getProperties() - Method in class org.apache.wink.client.ClientConfig
Convenience method for getting all properties registered on this instance.
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
Convenience method to get the int value of the wink.client.readTimeout property
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
getStatusType() - Method in interface org.apache.wink.client.ClientResponse
Gets the response status as a status type
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 class org.apache.wink.client.handlers.BasicAuthSecurityHandler
Performs basic HTTP authentication and proxy authentication, if necessary.
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.
handle(ClientRequest, HandlerContext) - Method in class org.apache.wink.client.handlers.ProxyAuthSecurityHandler
Performs basic HTTP authentication and proxy authentication, if necessary.
HandlerContext - Interface in org.apache.wink.client.handlers
The handler context is used by handlers to call the next handler on the chain.
handlerEncodedCredentials - Variable in class org.apache.wink.client.handlers.AbstractAuthSecurityHandler
 
handlerPassword - Variable in class org.apache.wink.client.handlers.AbstractAuthSecurityHandler
 
handlers(ClientHandler...) - Method in class org.apache.wink.client.ClientConfig
Add client handlers
handlerUsername - Variable in class org.apache.wink.client.handlers.AbstractAuthSecurityHandler
 
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.
isAcceptHeaderAutoSet() - Method in class org.apache.wink.client.ClientConfig
Returns whether client will automatically set an appropriate Accept header
isFollowRedirects() - Method in class org.apache.wink.client.ClientConfig
Returns whether to client will automatically follow redirects
isLoadWinkApplications() - Method in class org.apache.wink.client.ClientConfig
 
isSupportDTDExpansion() - Method in class org.apache.wink.client.ClientConfig
Convenience method to get the boolean value of the wink.supportDTDExpansion property

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
ProxyAuthSecurityHandler - Class in org.apache.wink.client.handlers
SecurityHandler for a client to perform http proxy auth:

Usage:
ClientConfig config = new ClientConfig();
ProxyAuthSecurityHandler proxyAuthSecHandler = new ProxyAuthSecurityHandler(); proxyAuthSecHandler.setUserName("username"); proxyAuthSecHandler.setPassword("password"); config.handlers(proxyAuthSecurityHandler);
// create the rest client instance
RestClient client = new RestClient(config);
// create the resource instance to interact with Resource
resource = client.resource("http://localhost:8080/path/to/resource");

ProxyAuthSecurityHandler() - Constructor for class org.apache.wink.client.handlers.ProxyAuthSecurityHandler
 
ProxyAuthSecurityHandler(String, String) - Constructor for class org.apache.wink.client.handlers.ProxyAuthSecurityHandler
 
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
Convenience method to set the wink.client.readTimeout property
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
resource(String, boolean) - 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

setBypassHostnameVerification(boolean) - Method in class org.apache.wink.client.ClientConfig
Set whether or not hostname verification to bypass hostname verification for SSL certificates.
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
setLoadWinkApplications(boolean) - Method in class org.apache.wink.client.ClientConfig
 
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
setPassword(String) - Method in class org.apache.wink.client.handlers.AbstractAuthSecurityHandler
Sets the password to use.
setProperties(Properties) - Method in class org.apache.wink.client.ClientConfig
Convenience method to set the client configuration properties.
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
setUserName(String) - Method in class org.apache.wink.client.handlers.AbstractAuthSecurityHandler
Sets the username to use.
supportDTDExpansion(boolean) - Method in class org.apache.wink.client.ClientConfig
Convenience method to set the wink.supportDTDExpansion property

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 B C D E F G H I O P Q R S U

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