com.app55.message
Class Request<T extends Response>

java.lang.Object
  extended by com.app55.message.Message
      extended by com.app55.message.Request<T>
Direct Known Subclasses:
CardCreateRequest, CardDeleteRequest, CardListRequest, ScheduleCreateRequest, ScheduleDeleteRequest, ScheduleGetRequest, ScheduleListRequest, ScheduleUpdateRequest, TransactionCommitRequest, TransactionCreateRequest, UserAuthenticateRequest, UserCreateRequest, UserGetRequest, UserUpdateRequest

public abstract class Request<T extends Response>
extends Message


Field Summary
 
Fields inherited from class com.app55.message.Message
additionalFields
 
Method Summary
abstract  String getHttpEndpoint()
           
 String getHttpMethod()
           
 String getSignature()
           
 String getTimestamp()
           
 T send()
           
 void send(ResponseListener<T> responseListener)
           
 
Methods inherited from class com.app55.message.Message
getFormData, getGateway, setGateway, toFormData, toSignature, toSignature
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getHttpEndpoint

public abstract String getHttpEndpoint()

getHttpMethod

public String getHttpMethod()

getSignature

public String getSignature()
Specified by:
getSignature in class Message

getTimestamp

public String getTimestamp()
Specified by:
getTimestamp in class Message

send

public T send()
                        throws ApiException
Throws:
ApiException

send

public void send(ResponseListener<T> responseListener)


Copyright © 2013. All Rights Reserved.