public class DefaultWsliteHandler extends Object implements WsliteHandler
Constructor and Description |
---|
DefaultWsliteHandler(RESTClientFactory restClientFactory,
RESTClientStorage restClientStorage,
SOAPClientFactory soapClientFactory,
SOAPClientStorage soapClientStorage) |
Modifier and Type | Method and Description |
---|---|
void |
destroyRestClient(String clientId) |
void |
destroySoapClient(String clientId) |
<R> R |
withRest(Map<String,Object> params,
RESTClientCallback<R> callback) |
<R> R |
withSoap(Map<String,Object> params,
SOAPClientCallback<R> callback) |
@Inject public DefaultWsliteHandler(@Nonnull RESTClientFactory restClientFactory, @Nonnull RESTClientStorage restClientStorage, @Nonnull SOAPClientFactory soapClientFactory, @Nonnull SOAPClientStorage soapClientStorage)
@Nullable public <R> R withRest(@Nonnull Map<String,Object> params, @Nonnull RESTClientCallback<R> callback) throws RESTException
withRest
in interface WsliteHandler
RESTException
@Nullable public <R> R withSoap(@Nonnull Map<String,Object> params, @Nonnull SOAPClientCallback<R> callback) throws SOAPException
withSoap
in interface WsliteHandler
SOAPException
public void destroyRestClient(@Nonnull String clientId)
destroyRestClient
in interface WsliteHandler
public void destroySoapClient(@Nonnull String clientId)
destroySoapClient
in interface WsliteHandler