public class RestfulServiceClient extends RestfulServiceClientExtension
Modifier and Type | Field and Description |
---|---|
protected AuthorizationData |
authorizationData |
protected ApiEnvironment |
environment |
protected static String |
HttpDelete |
protected static String |
HttpPost |
protected static String |
HttpPut |
protected Object |
soapService |
Modifier | Constructor and Description |
---|---|
protected |
RestfulServiceClient(AuthorizationData authData,
ApiEnvironment env,
Class serviceInterface) |
Modifier and Type | Method and Description |
---|---|
protected <Req,Resp> Resp |
sendRequest(Req request,
String entityEndpoint,
String verb,
Class respClass) |
protected <Req,Resp> jakarta.xml.ws.Response<Resp> |
sendRequestAsync(Req request,
String entityEndpoint,
String verb,
Class respClass) |
protected <Req,Resp> Future<?> |
sendRequestAsync(Req request,
String entityEndpoint,
String verb,
Class respClass,
jakarta.xml.ws.AsyncHandler<Resp> asyncHandler) |
void |
setSoapService(Object soapService) |
throwException, throwExecutionException
protected static final String HttpPost
protected static final String HttpPut
protected static final String HttpDelete
protected AuthorizationData authorizationData
protected ApiEnvironment environment
protected Object soapService
protected RestfulServiceClient(AuthorizationData authData, ApiEnvironment env, Class serviceInterface)
public void setSoapService(Object soapService)
protected <Req,Resp> Resp sendRequest(Req request, String entityEndpoint, String verb, Class respClass) throws Exception
Exception
protected <Req,Resp> Future<?> sendRequestAsync(Req request, String entityEndpoint, String verb, Class respClass, jakarta.xml.ws.AsyncHandler<Resp> asyncHandler) throws URISyntaxException, IOException, InterruptedException
protected <Req,Resp> jakarta.xml.ws.Response<Resp> sendRequestAsync(Req request, String entityEndpoint, String verb, Class respClass) throws URISyntaxException, IOException, InterruptedException
Copyright © 2024. All rights reserved.