com.zipwhip.api.response.ResponseParser Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of zipwhip-api Show documentation
Show all versions of zipwhip-api Show documentation
Java client to support applications powered by the Zipwhip Cloud
The newest version!
package com.zipwhip.api.response;
import com.zipwhip.api.dto.*;
import com.zipwhip.signals.presence.Presence;
import com.zipwhip.util.Parser;
import java.util.List;
import java.util.Map;
/**
* Date: Jul 18, 2009
* Time: 10:22:28 AM
*
* Will parse out objects from a specific data format. Currently the only supported format is JSON.
*/
public interface ResponseParser extends Parser {
Message parseMessage(ServerResponse serverResponse) throws Exception;
MessageListResult parseMessagesListResult(ServerResponse serverResponse) throws Exception;
List parseMessages(ServerResponse serverResponse) throws Exception;
List parseMessagesFromConversation(ServerResponse serverResponse) throws Exception;
Device parseDevice(ServerResponse serverResponse) throws Exception;
List parseDevices(ServerResponse serverResponse) throws Exception;
String parseString(ServerResponse serverResponse) throws Exception;
Contact parseContact(ServerResponse serverResponse) throws Exception;
Contact parseUserAsContact(ServerResponse serverResponse) throws Exception;
User parseUser(ServerResponse serverResponse) throws Exception;
List parseContacts(ServerResponse serverResponse) throws Exception;
Conversation parseConversation(ServerResponse serverResponse) throws Exception;
List parseConversations(ServerResponse serverResponse) throws Exception;
DeviceToken parseDeviceToken(ServerResponse serverResponse) throws Exception;
List parseMessageTokens(ServerResponse serverResponse) throws Exception;
List parsePresence(ServerResponse serverResponse) throws Exception;
List parseAttachments(ServerResponse serverResponse) throws Exception;
EnrollmentResult parseEnrollmentResult(ServerResponse serverResponse) throws Exception;
String parseFaceName(ServerResponse serverResponse) throws Exception;
Map parseHostedContentSave(ServerResponse serverResponse) throws Exception;
TinyUrl parseTinyUrl(ServerResponse serverResponse) throws Exception;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy