A C D E F G H I K M N O P R S T V W X 

A

Account - Class in com.cloudhopper.sxmp
 
Account() - Constructor for class com.cloudhopper.sxmp.Account
 
Account(String, String) - Constructor for class com.cloudhopper.sxmp.Account
 
Application - Class in com.cloudhopper.sxmp
 
Application() - Constructor for class com.cloudhopper.sxmp.Application
 
Application(String) - Constructor for class com.cloudhopper.sxmp.Application
 
authenticate(Account) - Method in interface com.cloudhopper.sxmp.SxmpProcessor
 

C

clear() - Method in class com.cloudhopper.sxmp.OptionalParamMap
 
com.cloudhopper.sxmp - package com.cloudhopper.sxmp
 
com.cloudhopper.sxmp.servlet - package com.cloudhopper.sxmp.servlet
 
com.cloudhopper.sxmp.util - package com.cloudhopper.sxmp.util
 
containsKey(Object) - Method in class com.cloudhopper.sxmp.OptionalParamMap
 
containsValue(Object) - Method in class com.cloudhopper.sxmp.OptionalParamMap
 
createResponse() - Method in class com.cloudhopper.sxmp.DeliverRequest
 
createResponse() - Method in class com.cloudhopper.sxmp.DeliveryReportRequest
 
createResponse() - Method in class com.cloudhopper.sxmp.Request
 
createResponse() - Method in class com.cloudhopper.sxmp.SubmitRequest
 
createString(Operation) - Static method in class com.cloudhopper.sxmp.SxmpWriter
static public byte[] createByteArray(Operation operation) throws SxmpErrorException, IOException { // most requests will be ~1000 bytes //FastByteArrayOutputStream baos = new FastByteArrayOutputStream(1000); ByteArrayOutputStream baos = new ByteArrayOutputStream(1000); OutputStreamWriter out = new OutputStreamWriter(baos, "ISO-8859-1"); SxmpWriter.write(out, operation); byte[] data = baos.toByteArray(); //out.close(); //baos.close(); return data; }

D

dateTimeFormat - Static variable in class com.cloudhopper.sxmp.SxmpParser
 
deliver(Account, DeliverRequest) - Method in interface com.cloudhopper.sxmp.SxmpProcessor
 
deliver(String, DeliverRequest, boolean) - Static method in class com.cloudhopper.sxmp.SxmpSender
 
DeliverRequest - Class in com.cloudhopper.sxmp
 
DeliverRequest() - Constructor for class com.cloudhopper.sxmp.DeliverRequest
 
DeliverResponse - Class in com.cloudhopper.sxmp
 
DeliverResponse() - Constructor for class com.cloudhopper.sxmp.DeliverResponse
 
deliveryReport(Account, DeliveryReportRequest) - Method in interface com.cloudhopper.sxmp.SxmpProcessor
 
DeliveryReportRequest - Class in com.cloudhopper.sxmp
 
DeliveryReportRequest() - Constructor for class com.cloudhopper.sxmp.DeliveryReportRequest
 
DeliveryReportResponse - Class in com.cloudhopper.sxmp
 
DeliveryReportResponse() - Constructor for class com.cloudhopper.sxmp.DeliveryReportResponse
 
DeliveryStatus - Class in com.cloudhopper.sxmp
 
DeliveryStatus(Integer, String) - Constructor for class com.cloudhopper.sxmp.DeliveryStatus
 
doProcess(SxmpProcessor, InputStream, PrintWriter, String, String, String) - Static method in class com.cloudhopper.sxmp.servlet.SxmpServletProcessor
 

E

entrySet() - Method in class com.cloudhopper.sxmp.OptionalParamMap
 
equals(Object) - Method in class com.cloudhopper.sxmp.OptionalParamMap
 
ErrorResponse - Class in com.cloudhopper.sxmp
 
ErrorResponse(Operation.Type, Integer, String) - Constructor for class com.cloudhopper.sxmp.ErrorResponse
 
escapeAttributeXml(String) - Static method in class com.cloudhopper.sxmp.util.XmlEscapeUtil
Escapes the characters in a String using XML entities.
escapeTextXml(String) - Static method in class com.cloudhopper.sxmp.util.XmlEscapeUtil
Escapes the characters in a String using XML entities.

F

fromPriorityFlag(int) - Static method in enum com.cloudhopper.sxmp.Priority
 

G

get(Object) - Method in class com.cloudhopper.sxmp.OptionalParamMap
 
getAccount() - Method in class com.cloudhopper.sxmp.Request
 
getAddress() - Method in class com.cloudhopper.sxmp.MobileAddress
 
getAnsi136() - Method in enum com.cloudhopper.sxmp.Priority
 
getApplication() - Method in class com.cloudhopper.sxmp.Request
 
getCharset() - Method in enum com.cloudhopper.sxmp.TextEncoding
 
getChmqPriority() - Method in enum com.cloudhopper.sxmp.Priority
 
getCode() - Method in class com.cloudhopper.sxmp.DeliveryStatus
 
getCreateDate() - Method in class com.cloudhopper.sxmp.DeliveryReportRequest
 
getDeliveryReport() - Method in class com.cloudhopper.sxmp.SubmitRequest
 
getDestinationAddress() - Method in class com.cloudhopper.sxmp.MessageRequest
 
getDouble(String, Double) - Method in class com.cloudhopper.sxmp.OptionalParamMap
 
getErrorCode() - Method in class com.cloudhopper.sxmp.Response
 
getErrorCode() - Method in exception com.cloudhopper.sxmp.SxmpErrorException
 
getErrorCode() - Method in exception com.cloudhopper.sxmp.SxmpParsingException
 
getErrorMessage() - Method in class com.cloudhopper.sxmp.Response
 
getErrorMessage() - Method in exception com.cloudhopper.sxmp.SxmpErrorException
 
getErrorMessage() - Method in exception com.cloudhopper.sxmp.SxmpParsingException
 
getFinalDate() - Method in class com.cloudhopper.sxmp.DeliveryReportRequest
 
getInteger(String, Integer) - Method in class com.cloudhopper.sxmp.OptionalParamMap
 
getIntValue() - Method in enum com.cloudhopper.sxmp.SxmpErrorCode
 
getIs95() - Method in enum com.cloudhopper.sxmp.Priority
 
getLong(String, Long) - Method in class com.cloudhopper.sxmp.OptionalParamMap
 
getMessage() - Method in class com.cloudhopper.sxmp.DeliveryStatus
 
getMessageErrorCode() - Method in class com.cloudhopper.sxmp.DeliveryReportRequest
 
getName() - Method in class com.cloudhopper.sxmp.Application
 
getOperation() - Method in exception com.cloudhopper.sxmp.SxmpParsingException
Gets the partially parsed Operation if it exists.
getOperationType() - Method in exception com.cloudhopper.sxmp.SxmpErrorException
 
getOperatorId() - Method in class com.cloudhopper.sxmp.MessageRequest
 
getOptionalParams() - Method in class com.cloudhopper.sxmp.MessageRequest
 
getPassword() - Method in class com.cloudhopper.sxmp.Account
 
getPriority() - Method in class com.cloudhopper.sxmp.MessageRequest
 
getPriorityFlag() - Method in enum com.cloudhopper.sxmp.Priority
 
getReferenceId() - Method in class com.cloudhopper.sxmp.Operation
 
getSourceAddress() - Method in class com.cloudhopper.sxmp.MessageRequest
 
getStatus() - Method in class com.cloudhopper.sxmp.DeliveryReportRequest
 
getStatusCode() - Method in exception com.cloudhopper.sxmp.servlet.HttpStatusCodeException
 
getString(String, String) - Method in class com.cloudhopper.sxmp.OptionalParamMap
 
getText() - Method in class com.cloudhopper.sxmp.MessageRequest
 
getTextEncoding() - Method in class com.cloudhopper.sxmp.MessageRequest
 
getTicketId() - Method in class com.cloudhopper.sxmp.Operation
 
getType() - Method in class com.cloudhopper.sxmp.MobileAddress
 
getType() - Method in class com.cloudhopper.sxmp.Operation
 
getUsername() - Method in class com.cloudhopper.sxmp.Account
 
getValue() - Method in enum com.cloudhopper.sxmp.Operation.Type
 
getVersion() - Method in class com.cloudhopper.sxmp.Operation
 

H

HASH_MAP - Static variable in class com.cloudhopper.sxmp.OptionalParamMap
 
HttpStatusCodeException - Exception in com.cloudhopper.sxmp.servlet
 
HttpStatusCodeException(int, String) - Constructor for exception com.cloudhopper.sxmp.servlet.HttpStatusCodeException
Constructs an instance of ApiHttpException with the specified detail message.

I

isEmpty() - Method in class com.cloudhopper.sxmp.OptionalParamMap
 
isRequest() - Method in class com.cloudhopper.sxmp.Operation
 
isResponse() - Method in class com.cloudhopper.sxmp.Operation
 

K

keySet() - Method in class com.cloudhopper.sxmp.OptionalParamMap
 

M

MessageRequest<E extends Response> - Class in com.cloudhopper.sxmp
 
MessageRequest(Operation.Type) - Constructor for class com.cloudhopper.sxmp.MessageRequest
 
MobileAddress - Class in com.cloudhopper.sxmp
 
MobileAddress() - Constructor for class com.cloudhopper.sxmp.MobileAddress
 
MobileAddress(MobileAddress.Type, String) - Constructor for class com.cloudhopper.sxmp.MobileAddress
 
MobileAddress.Type - Enum in com.cloudhopper.sxmp
 
MobileAddressUtil - Class in com.cloudhopper.sxmp.util
 
MobileAddressUtil() - Constructor for class com.cloudhopper.sxmp.util.MobileAddressUtil
 

N

nullSafe(Object) - Static method in class com.cloudhopper.sxmp.util.ToStringUtil
 

O

Operation - Class in com.cloudhopper.sxmp
 
Operation(Operation.Type, boolean) - Constructor for class com.cloudhopper.sxmp.Operation
 
Operation.Type - Enum in com.cloudhopper.sxmp
 
OptionalParamMap - Class in com.cloudhopper.sxmp
Map for StratusRequest optional params.
OptionalParamMap(int) - Constructor for class com.cloudhopper.sxmp.OptionalParamMap
Create an optional param map based on the specified map type

P

parse(String) - Static method in enum com.cloudhopper.sxmp.Operation.Type
 
parse(InputStream) - Method in class com.cloudhopper.sxmp.SxmpParser
public Node parse(InputSource source) throws IOException, SAXException { // _dtd=null; Handler handler = new Handler(); XMLReader reader = _parser.getXMLReader(); reader.setContentHandler(handler); reader.setErrorHandler(handler); reader.setEntityResolver(handler); if (logger.isDebugEnabled()) logger.debug("parsing: sid=" + source.getSystemId() + ",pid=" + source.getPublicId()); _parser.parse(source, handler); if (handler.error != null) throw handler.error; Node root = (Node)handler.root; handler.reset(); return root; } public synchronized Node parse(String xml) throws IOException, SAXException { ByteArrayInputStream is = new ByteArrayInputStream(xml.getBytes()); return parse(is); } public synchronized Node parse(File file) throws IOException, SAXException { return parse(new InputSource(file.toURI().toURL().toString())); } public synchronized Node parse(InputStream in) throws IOException, SAXException { //_dtd=null; Handler handler = new Handler(); XMLReader reader = _parser.getXMLReader(); reader.setContentHandler(handler); reader.setErrorHandler(handler); reader.setEntityResolver(handler); _parser.parse(new InputSource(in), handler); if (handler.error != null) throw handler.error; Node root = (Node)handler.root; handler.reset(); return root; }
parseAddress(String, String) - Static method in class com.cloudhopper.sxmp.util.MobileAddressUtil
 
parseType(String) - Static method in class com.cloudhopper.sxmp.util.MobileAddressUtil
Parses string into a MobileAddress type.
PartialOperation - Class in com.cloudhopper.sxmp
An operation that could only be partially parsed.
PartialOperation(Operation.Type) - Constructor for class com.cloudhopper.sxmp.PartialOperation
 
Priority - Enum in com.cloudhopper.sxmp
Priority for internal priority queuing and SMPP priority_flag.
process(SxmpProcessor, HttpServletRequest, HttpServletResponse) - Method in class com.cloudhopper.sxmp.servlet.SxmpServletProcessor
 
process(InputStream) - Method in class com.cloudhopper.sxmp.SxmpSession
Processes an InputStream that contains a request.
put(String, Object) - Method in class com.cloudhopper.sxmp.OptionalParamMap
 
putAll(Map) - Method in class com.cloudhopper.sxmp.OptionalParamMap
 

R

remove(Object) - Method in class com.cloudhopper.sxmp.OptionalParamMap
 
Request<E extends Response> - Class in com.cloudhopper.sxmp
 
Request(Operation.Type) - Constructor for class com.cloudhopper.sxmp.Request
 
Response - Class in com.cloudhopper.sxmp
 
Response(Operation.Type) - Constructor for class com.cloudhopper.sxmp.Response
 

S

send(String, Request, boolean) - Static method in class com.cloudhopper.sxmp.SxmpSender
 
setAccount(Account) - Method in class com.cloudhopper.sxmp.Request
 
setAddress(MobileAddress.Type, String) - Method in class com.cloudhopper.sxmp.MobileAddress
 
setApplication(Application) - Method in class com.cloudhopper.sxmp.Request
 
setCreateDate(DateTime) - Method in class com.cloudhopper.sxmp.DeliveryReportRequest
 
setDeliveryReport(Boolean) - Method in class com.cloudhopper.sxmp.SubmitRequest
 
setDestinationAddress(MobileAddress) - Method in class com.cloudhopper.sxmp.MessageRequest
 
setErrorCode(Integer) - Method in class com.cloudhopper.sxmp.Response
 
setErrorMessage(String) - Method in class com.cloudhopper.sxmp.Response
 
setFinalDate(DateTime) - Method in class com.cloudhopper.sxmp.DeliveryReportRequest
 
setMessageErrorCode(Integer) - Method in class com.cloudhopper.sxmp.DeliveryReportRequest
 
setName(String) - Method in class com.cloudhopper.sxmp.Application
 
setOperatorId(Integer) - Method in class com.cloudhopper.sxmp.MessageRequest
 
setOptionalParams(OptionalParamMap) - Method in class com.cloudhopper.sxmp.MessageRequest
 
setPassword(String) - Method in class com.cloudhopper.sxmp.Account
 
setPriority(Priority) - Method in class com.cloudhopper.sxmp.MessageRequest
 
setReferenceId(String) - Method in class com.cloudhopper.sxmp.Operation
 
setSourceAddress(MobileAddress) - Method in class com.cloudhopper.sxmp.MessageRequest
 
setStatus(DeliveryStatus) - Method in class com.cloudhopper.sxmp.DeliveryReportRequest
 
setText(String) - Method in class com.cloudhopper.sxmp.MessageRequest
 
setText(String, TextEncoding) - Method in class com.cloudhopper.sxmp.MessageRequest
 
setTextEncoding(TextEncoding) - Method in class com.cloudhopper.sxmp.MessageRequest
 
setTicketId(String) - Method in class com.cloudhopper.sxmp.Operation
 
setUsername(String) - Method in class com.cloudhopper.sxmp.Account
 
size() - Method in class com.cloudhopper.sxmp.OptionalParamMap
 
submit(Account, SubmitRequest) - Method in interface com.cloudhopper.sxmp.SxmpProcessor
 
submit(String, SubmitRequest) - Static method in class com.cloudhopper.sxmp.SxmpSender
 
SubmitRequest - Class in com.cloudhopper.sxmp
 
SubmitRequest() - Constructor for class com.cloudhopper.sxmp.SubmitRequest
 
SubmitRequest(String) - Constructor for class com.cloudhopper.sxmp.SubmitRequest
 
SubmitResponse - Class in com.cloudhopper.sxmp
 
SubmitResponse() - Constructor for class com.cloudhopper.sxmp.SubmitResponse
 
SxmpErrorCode - Enum in com.cloudhopper.sxmp
 
SxmpErrorException - Exception in com.cloudhopper.sxmp
Exception thrown when the XML was parsed correctly enough to produce a valid XML error response.
SxmpErrorException(SxmpErrorCode, String) - Constructor for exception com.cloudhopper.sxmp.SxmpErrorException
 
SxmpErrorException(SxmpErrorCode, String, Operation.Type) - Constructor for exception com.cloudhopper.sxmp.SxmpErrorException
 
SxmpErrorException(SxmpErrorCode, String, Throwable) - Constructor for exception com.cloudhopper.sxmp.SxmpErrorException
 
SxmpErrorException(SxmpErrorCode, String, Operation.Type, Throwable) - Constructor for exception com.cloudhopper.sxmp.SxmpErrorException
 
SxmpParser - Class in com.cloudhopper.sxmp
 
SxmpParser() - Constructor for class com.cloudhopper.sxmp.SxmpParser
 
SxmpParser(String) - Constructor for class com.cloudhopper.sxmp.SxmpParser
 
SxmpParsingException - Exception in com.cloudhopper.sxmp
Exception thrown when the XML could not be parsed and recognized as a valid SXMP operation.
SxmpParsingException(SxmpErrorCode, String, Operation) - Constructor for exception com.cloudhopper.sxmp.SxmpParsingException
 
SxmpProcessor - Interface in com.cloudhopper.sxmp
Interface for processing SXMP requests.
SxmpSender - Class in com.cloudhopper.sxmp
Utility class for a simple way of sending a request and returning a response.
SxmpSender() - Constructor for class com.cloudhopper.sxmp.SxmpSender
 
SxmpServletProcessor - Class in com.cloudhopper.sxmp.servlet
SXMP processor used with servlets for delegating responsibility of handling a request.
SxmpServletProcessor() - Constructor for class com.cloudhopper.sxmp.servlet.SxmpServletProcessor
 
SxmpSession - Class in com.cloudhopper.sxmp
 
SxmpSession(SxmpProcessor, String) - Constructor for class com.cloudhopper.sxmp.SxmpSession
 
SxmpWriter - Class in com.cloudhopper.sxmp
 
SxmpWriter() - Constructor for class com.cloudhopper.sxmp.SxmpWriter
 

T

TextEncoding - Enum in com.cloudhopper.sxmp
Enumeration of all text encodings supported by the SXMP protocol.
toString() - Method in class com.cloudhopper.sxmp.Account
 
toString() - Method in class com.cloudhopper.sxmp.Application
 
toString() - Method in class com.cloudhopper.sxmp.DeliveryReportRequest
 
toString() - Method in class com.cloudhopper.sxmp.DeliveryStatus
 
toString() - Method in class com.cloudhopper.sxmp.MessageRequest
 
toString() - Method in class com.cloudhopper.sxmp.MobileAddress
 
toString() - Method in class com.cloudhopper.sxmp.Operation
 
toString() - Method in class com.cloudhopper.sxmp.OptionalParamMap
 
toString() - Method in enum com.cloudhopper.sxmp.Priority
 
toString() - Method in class com.cloudhopper.sxmp.Request
 
toString() - Method in class com.cloudhopper.sxmp.Response
 
ToStringUtil - Class in com.cloudhopper.sxmp.util
Utility for creating toString() methods.
ToStringUtil() - Constructor for class com.cloudhopper.sxmp.util.ToStringUtil
 
TREE_MAP - Static variable in class com.cloudhopper.sxmp.OptionalParamMap
 

V

validate() - Method in class com.cloudhopper.sxmp.DeliverRequest
 
validate() - Method in class com.cloudhopper.sxmp.DeliverResponse
 
validate() - Method in class com.cloudhopper.sxmp.DeliveryReportRequest
 
validate() - Method in class com.cloudhopper.sxmp.DeliveryReportResponse
 
validate() - Method in class com.cloudhopper.sxmp.ErrorResponse
 
validate() - Method in class com.cloudhopper.sxmp.MessageRequest
 
validate() - Method in class com.cloudhopper.sxmp.Operation
Validates the operation whether it contains all required properties per the SXMP protocol specifications.
validate() - Method in class com.cloudhopper.sxmp.PartialOperation
 
validate() - Method in class com.cloudhopper.sxmp.Request
 
validate() - Method in class com.cloudhopper.sxmp.Response
 
validate() - Method in class com.cloudhopper.sxmp.SubmitRequest
 
validate() - Method in class com.cloudhopper.sxmp.SubmitResponse
 
validateInternationalAddress(String) - Static method in class com.cloudhopper.sxmp.util.MobileAddressUtil
 
validateNetworkAddress(String) - Static method in class com.cloudhopper.sxmp.util.MobileAddressUtil
 
valueOf(String) - Static method in enum com.cloudhopper.sxmp.MobileAddress.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.cloudhopper.sxmp.Operation.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.cloudhopper.sxmp.Priority
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.cloudhopper.sxmp.SxmpErrorCode
Returns the enum constant of this type with the specified name.
valueOf(int) - Static method in enum com.cloudhopper.sxmp.SxmpErrorCode
 
valueOf(String) - Static method in enum com.cloudhopper.sxmp.TextEncoding
Returns the enum constant of this type with the specified name.
valueOfCharset(String) - Static method in enum com.cloudhopper.sxmp.TextEncoding
 
values() - Static method in enum com.cloudhopper.sxmp.MobileAddress.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.cloudhopper.sxmp.Operation.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class com.cloudhopper.sxmp.OptionalParamMap
 
values() - Static method in enum com.cloudhopper.sxmp.Priority
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.cloudhopper.sxmp.SxmpErrorCode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.cloudhopper.sxmp.TextEncoding
Returns an array containing the constants of this enum type, in the order they are declared.
version - Variable in class com.cloudhopper.sxmp.Operation
 
version - Variable in class com.cloudhopper.sxmp.SxmpParser
 
VERSION_1_0 - Static variable in class com.cloudhopper.sxmp.SxmpParser
 
VERSION_1_1 - Static variable in class com.cloudhopper.sxmp.SxmpParser
 
VERSION_1_2 - Static variable in class com.cloudhopper.sxmp.SxmpParser
 

W

write(Writer, Operation) - Static method in class com.cloudhopper.sxmp.SxmpWriter
 
write(Writer, Operation, boolean) - Static method in class com.cloudhopper.sxmp.SxmpWriter
 

X

XmlEscapeUtil - Class in com.cloudhopper.sxmp.util
 
XmlEscapeUtil() - Constructor for class com.cloudhopper.sxmp.util.XmlEscapeUtil
 
A C D E F G H I K M N O P R S T V W X 

Copyright © 2016. All rights reserved.