org.odata4j.consumer.behaviors
Class BasicAuthenticationBehavior
java.lang.Object
org.odata4j.consumer.behaviors.BasicAuthenticationBehavior
- All Implemented Interfaces:
- OClientBehavior
public class BasicAuthenticationBehavior
- extends Object
- implements OClientBehavior
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicAuthenticationBehavior
public BasicAuthenticationBehavior(String user,
String password)
transform
public ODataClientRequest transform(ODataClientRequest request)
- Description copied from interface:
OClientBehavior
- Transforms the current http request.
- Specified by:
transform
in interface OClientBehavior
- Parameters:
request
- the current http request
- Returns:
- the modified http request
http://odata4j.org