Geo-location services for 51Degrees Pipeline
Loading...
Searching...
No Matches

fiftyone.geolocation.web.examples.servlet.Example Class Reference

Inheritance diagram for fiftyone.geolocation.web.examples.servlet.Example:

[legend]

Collaboration diagram for fiftyone.geolocation.web.examples.servlet.Example:

[legend]

Public Member Functions

String getServletInfo ()
 Returns a short description of the servlet.

Static Public Member Functions

static void main (String[] args) throws LifecycleException

Protected Member Functions

void processRequest (HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException, NoValueException
 Processes requests for both HTTP GET and POST methods.
void doGet (HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
 Handles the HTTP GET method.

Member Function Documentation

◆ doGet()

void fiftyone.geolocation.web.examples.servlet.Example.doGet ( HttpServletRequest request,
HttpServletResponse response ) throws ServletException, IOException
protected

Handles the HTTP GET method.

Parameters
requestservlet request
responseservlet response
Exceptions
ServletExceptionif a servlet-specific error occurs
IOExceptionif an I/O error occurs
Examples
servlet/Example.java.

◆ getServletInfo()

String fiftyone.geolocation.web.examples.servlet.Example.getServletInfo ( )

Returns a short description of the servlet.

Returns
a String containing servlet description
Examples
servlet/Example.java.

◆ processRequest()

void fiftyone.geolocation.web.examples.servlet.Example.processRequest ( HttpServletRequest request,
HttpServletResponse response ) throws ServletException, IOException, NoValueException
protected

Processes requests for both HTTP GET and POST methods.

Parameters
requestservlet request
responseservlet response
Exceptions
ServletExceptionif a servlet-specific error occurs
IOExceptionif an I/O error occurs
Examples
servlet/Example.java.