Added HTTPCall utility

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@144234 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2017-02-24 09:57:48 +00:00
parent 4494c364cc
commit bf25323574
1 changed files with 3 additions and 3 deletions

View File

@ -19,10 +19,10 @@ import org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegis
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class HTTPInputs<C> {
public class HTTPCall<C> {
private static final Logger logger = LoggerFactory
.getLogger(HTTPInputs.class);
.getLogger(HTTPCall.class);
public enum HTTPMETHOD {
GET, POST, PUT, DELETE;
@ -74,7 +74,7 @@ public class HTTPInputs<C> {
* @param requestProperties
* @throws UnsupportedEncodingException
*/
public HTTPInputs(String path, HTTPMETHOD method,
public HTTPCall(String path, HTTPMETHOD method,
Map<String, String> parameters)
throws UnsupportedEncodingException {
super();