public class HttpClient extends Object
| Constructor and Description |
|---|
HttpClient() |
| Modifier and Type | Method and Description |
|---|---|
static <R> R |
get(javax.ws.rs.core.GenericType<org.gcube.social_networking.socialnetworking.model.output.ResponseBean<R>> returnType,
String requestUrl)
Executes a get request
|
static <R> R |
post(javax.ws.rs.core.GenericType<org.gcube.social_networking.socialnetworking.model.output.ResponseBean<R>> returnType,
String requestUrl,
Object obj)
Executes a post request
|
public static <R> R get(javax.ws.rs.core.GenericType<org.gcube.social_networking.socialnetworking.model.output.ResponseBean<R>> returnType,
String requestUrl)
returnType - requestUrl - Copyright © 2022. All rights reserved.