| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.odata4j.consumer.behaviors.OClientBehaviors
public class OClientBehaviors
A static factory to create built-in OClientBehavior instances.
| Method Summary | |
|---|---|
| static OClientBehavior | azureTables(String account,
            String key)Creates a behavior that signs requests properly for the Azure Table Storage service. | 
| static OClientBehavior | basicAuth(String user,
          String password)Creates a behavior that does http basic authentication. | 
| static OClientBehavior | methodTunneling(String... methodsToTunnel)Creates a behavior that tunnels specific http request methods through POST. | 
| static OClientBehavior | rateLimit(long millis)Creates a behavior that sleeps a specified amount of time before each client request. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
|---|
public static OClientBehavior azureTables(String account,
                                          String key)
account - azure account keykey - azure secret key
public static OClientBehavior basicAuth(String user,
                                        String password)
user - the basic auth userpassword - the basic auth password
public static OClientBehavior methodTunneling(String... methodsToTunnel)
methodsToTunnel - the methods to tunnel.  e.g. MERGE
public static OClientBehavior rateLimit(long millis)
millis - the time to sleep in milliseconds
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||