Uses of Interface
org.apache.wink.client.handlers.ClientHandler

Packages that use ClientHandler
org.apache.wink.client   
org.apache.wink.client.handlers   
 

Uses of ClientHandler in org.apache.wink.client
 

Methods in org.apache.wink.client that return types with arguments of type ClientHandler
 java.util.List<ClientHandler> ClientConfig.getHandlers()
          Get an unmodifiable list of the client handlers
 

Methods in org.apache.wink.client with parameters of type ClientHandler
 ClientConfig ClientConfig.handlers(ClientHandler... handlers)
          Add client handlers
 

Uses of ClientHandler in org.apache.wink.client.handlers
 

Subinterfaces of ClientHandler in org.apache.wink.client.handlers
 interface ConnectionHandler
          Interface for specifying that a handler is the connection handler and is the last handler on the handler chain
 

Classes in org.apache.wink.client.handlers that implement ClientHandler
 class BasicAuthSecurityHandler
          SecurityHandler for a client to perform http basic auth:

Usage:
ClientConfig config = new ClientConfig();
BasicAuthSecurityHandler basicAuth = new BasicAuthSecurityHandler();
basicAuth.setUserName("user1");
basicAuth.setPassword("password2");
config.handlers(basicAuth);
// 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");

 



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