com.zeroturnaround.liverebel.api.impl
Class RestConnection
java.lang.Object
com.zeroturnaround.liverebel.api.impl.RestConnection
- All Implemented Interfaces:
- Closeable
public class RestConnection
- extends Object
- implements Closeable
Helper class for accessing REST service.
- Author:
- Vladimir Shor, Rein Raudjärv
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RestConnection
public RestConnection(String serverUrl,
String username,
String password,
boolean verbose)
get
public String get(String operation)
put
public String put(String operation)
delete
public String delete(String operation)
get
public String get(String operation,
Map<String,Object> params)
put
public String put(String operation,
Map<String,Object> params)
delete
public String delete(String operation,
Map<String,Object> params)
post
public String post(String operation)
post
public String post(String operation,
Map<String,Object> postParams)
close
public void close()
- Specified by:
close in interface Closeable
Copyright © 2013. All Rights Reserved.