com.amazonaws.mturk.service.axis
Class AWSService
java.lang.Object
com.amazonaws.mturk.service.axis.AWSService
- Direct Known Subclasses:
- FilteredAWSService
public abstract class AWSService
- extends java.lang.Object
The AWSService class contains request and response handlers that are common
to all AWS products. Requests are signed using HMAC-SHA1 algorithm.
Responses are screened for service errors. If there are service errors,
then corresponding exceptions get created and thrown.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTTP_HEADER_AMAZON_SOFTWARE
protected static java.lang.String HTTP_HEADER_AMAZON_SOFTWARE
httpHeaders
protected static java.util.Hashtable<java.lang.String,java.lang.String> httpHeaders
config
protected ClientConfig config
AWSService
public AWSService(ClientConfig config)
setAccessKeyId
public void setAccessKeyId(java.lang.String accessKeyId)
setSigner
public void setSigner(java.lang.String secretAccessKey)
getAWSAccessKeyId
protected java.lang.String getAWSAccessKeyId()
getSigner
protected HMACSigner getSigner()
getPort
protected abstract java.lang.Object getPort()
getServiceName
protected abstract java.lang.String getServiceName()
getPackagePrefix
protected abstract java.lang.String getPackagePrefix()
executeRequestMessage
public Reply executeRequestMessage(Message m)
throws ServiceException
- Parameters:
m - - Message structure which contains the details for making wsdl operation call
- Returns:
- Reply structure containing results and errors from the wsdl operation call
- Throws:
ServiceException
getConfig
public ClientConfig getConfig()