Package chemaxon.calculations.services
Class HttpServiceHandler
java.lang.Object
chemaxon.calculations.services.ServiceHandler<HttpServiceDescriptor>
chemaxon.calculations.services.HttpServiceHandler
ServiceHandler implementation that invokes remote services over HTTP.- Since:
- 5.6
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> TcallService(HttpServiceDescriptor descriptor, Object... arguments) Performs a service call.Methods inherited from class chemaxon.calculations.services.ServiceHandler
callService
-
Constructor Details
-
HttpServiceHandler
public HttpServiceHandler()
-
-
Method Details
-
callService
public <T> T callService(HttpServiceDescriptor descriptor, Object... arguments) throws ServiceException Description copied from class:ServiceHandlerPerforms a service call.- Specified by:
callServicein classServiceHandler<HttpServiceDescriptor>- Parameters:
descriptor- the service descriptorarguments- the service call arguments- Returns:
- result of service call
- Throws:
ServiceException- on failure
-