com.app55.message
Class Message

java.lang.Object
  extended by com.app55.message.Message
Direct Known Subclasses:
Request, Response

public abstract class Message
extends Object


Field Summary
protected  Map<String,String> additionalFields
           
 
Constructor Summary
Message()
           
 
Method Summary
 String getFormData()
           
 Gateway getGateway()
           
abstract  String getSignature()
           
abstract  String getTimestamp()
           
 void setGateway(Gateway gateway)
           
 String toFormData(boolean includeApiKey, Map<String,Boolean> exclude)
           
protected  String toSignature()
           
protected  String toSignature(boolean includeApiKey)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

additionalFields

protected Map<String,String> additionalFields
Constructor Detail

Message

public Message()
Method Detail

getGateway

public Gateway getGateway()

setGateway

public void setGateway(Gateway gateway)

getSignature

public abstract String getSignature()

getTimestamp

public abstract String getTimestamp()

getFormData

public String getFormData()

toSignature

protected String toSignature()

toSignature

protected String toSignature(boolean includeApiKey)

toFormData

public String toFormData(boolean includeApiKey,
                         Map<String,Boolean> exclude)


Copyright © 2013. All Rights Reserved.