org.gsm.oneapi.server.sms
Class RetrieveSMSMessagesServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.gsm.oneapi.server.OneAPIServlet
              extended by org.gsm.oneapi.server.sms.RetrieveSMSMessagesServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class RetrieveSMSMessagesServlet
extends OneAPIServlet

Servlet implementing the OneAPI function for retrieving received SMS messages

See Also:
Serialized Form

Field Summary
static java.lang.String DELIVEREDTONETWORK
           
static java.lang.String DELIVEREDTOTERMINAL
           
static java.lang.String DELIVERYIMPOSSIBLE
           
static java.lang.String DELIVERYUNCERTAIN
           
static java.lang.String MESSAGEWAITING
           
 
Fields inherited from class org.gsm.oneapi.server.OneAPIServlet
ACCEPTED, AUTHENTICATION_FAILURE, BAD_REQUEST, CREATED, dumpRequestAndResponse, FORBIDDEN, METHOD_NOT_SUPPORTED, NOCONTENT, NONAUTHORITATIVE, NOT_FOUND, OK
 
Constructor Summary
RetrieveSMSMessagesServlet()
           
 
Method Summary
 void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          By default make HTTP get requests return a not supported error.
 void init()
          Default servlet initialisation method - should be overridden by the individual servlet
 
Methods inherited from class org.gsm.oneapi.server.OneAPIServlet
checkRequestParameters, doDelete, doHead, doOptions, doPost, doPut, doTrace, dumpRequestDetails, getRequestHostnameAndContext, getRequestParts, isAuthorizationFailed, isCorrectlyFormattedNumber, isCorrectlyFormattedURL, isTrue, makeUTCDateTime, nullOrTrimmed, parseBoolean, parseDouble, parseInt, parseLong, sendError, sendJSONResponse, urlEncode, validateRequest
 
Methods inherited from class javax.servlet.http.HttpServlet
getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DELIVERYIMPOSSIBLE

public static final java.lang.String DELIVERYIMPOSSIBLE
See Also:
Constant Field Values

DELIVEREDTONETWORK

public static final java.lang.String DELIVEREDTONETWORK
See Also:
Constant Field Values

DELIVEREDTOTERMINAL

public static final java.lang.String DELIVEREDTOTERMINAL
See Also:
Constant Field Values

DELIVERYUNCERTAIN

public static final java.lang.String DELIVERYUNCERTAIN
See Also:
Constant Field Values

MESSAGEWAITING

public static final java.lang.String MESSAGEWAITING
See Also:
Constant Field Values
Constructor Detail

RetrieveSMSMessagesServlet

public RetrieveSMSMessagesServlet()
Method Detail

init

public void init()
          throws javax.servlet.ServletException
Description copied from class: OneAPIServlet
Default servlet initialisation method - should be overridden by the individual servlet

Overrides:
init in class OneAPIServlet
Throws:
javax.servlet.ServletException

doGet

public void doGet(javax.servlet.http.HttpServletRequest request,
                  javax.servlet.http.HttpServletResponse response)
           throws java.io.IOException,
                  javax.servlet.ServletException
Description copied from class: OneAPIServlet
By default make HTTP get requests return a not supported error. The individual servlet can replace this if it should be supported.

Overrides:
doGet in class OneAPIServlet
Throws:
java.io.IOException
javax.servlet.ServletException