\r\n

51Degrees Geo-Location Java  4.4

Geo-location services for 51Degrees Pipeline
  • fiftyone
  • geolocation
  • web
  • examples
  • servlet
  • Example

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. More...

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. More...
void  doGet (HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
Handles the HTTP GET method. More...

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
request - servlet request
response - servlet response
Exceptions
ServletException - if a servlet-specific error occurs
IOException - if 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
request - servlet request
response - servlet response
Exceptions
ServletException - if a servlet-specific error occurs
IOException - if an I/O error occurs
Examples
servlet/Example.java.