Class SimpleRestClient
- java.lang.Object
-
- step.plugins.notification.gateway.SimpleRestClient
-
public class SimpleRestClient extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SimpleRestClient.SSLTrustAny
-
Field Summary
Fields Modifier and Type Field Description protected jakarta.ws.rs.client.Client
client
-
Constructor Summary
Constructors Constructor Description SimpleRestClient()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.ws.rs.core.Response
GET(java.lang.String url)
<T> T
GET(java.lang.String url, java.lang.Class<T> responseType)
<IN> jakarta.ws.rs.core.Response
POST(java.lang.String url, IN requestEntity)
<IN,OUT>
OUTPOST(java.lang.String url, IN request, java.lang.Class<OUT> responseClass)
-
-
-
Method Detail
-
GET
public jakarta.ws.rs.core.Response GET(java.lang.String url)
-
POST
public <IN> jakarta.ws.rs.core.Response POST(java.lang.String url, IN requestEntity)
-
GET
public <T> T GET(java.lang.String url, java.lang.Class<T> responseType)
-
POST
public <IN,OUT> OUT POST(java.lang.String url, IN request, java.lang.Class<OUT> responseClass)
-
-