public class ExternalServiceExecutor extends Object implements ServiceExecutor
Constructor and Description |
---|
ExternalServiceExecutor(String defaultAppAuthKey,
int atomicConnectionTimeout,
int atomicReadTimeout,
int compositeConnectionTimeout,
int compositeReadTimeout) |
Modifier and Type | Method and Description |
---|---|
List<ServiceEndpoint> |
getEndpoints(Service service,
String protocol) |
void |
invokeRequest(javax.servlet.ServletContext servletContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
ServiceContext serviceContext,
DaoContext daoContext,
Service service,
List<ServiceEndpoint> endpoints,
String additionalUrlPart,
Map<String,String> headers,
byte[] input) |
public ExternalServiceExecutor(String defaultAppAuthKey, int atomicConnectionTimeout, int atomicReadTimeout, int compositeConnectionTimeout, int compositeReadTimeout)
public List<ServiceEndpoint> getEndpoints(Service service, String protocol) throws DaoException
getEndpoints
in interface ServiceExecutor
DaoException
public void invokeRequest(javax.servlet.ServletContext servletContext, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, ServiceContext serviceContext, DaoContext daoContext, Service service, List<ServiceEndpoint> endpoints, String additionalUrlPart, Map<String,String> headers, byte[] input) throws DaoException, TooManyCallNestException, NoValidEndpointsException, ProcessFailedException, IOException
invokeRequest
in interface ServiceExecutor
DaoException
TooManyCallNestException
NoValidEndpointsException
ProcessFailedException
IOException