51Degrees Device Detection Java  4.1

Device detection services for 51Degrees Pipeline
  • fiftyone
  • pipeline
  • web
  • examples
  • servlet
  • Example

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

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

[legend]

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

[legend]

Public Member Functions

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

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