\r\n

51Degrees Device Detection Java  4.3

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

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

Detailed Description

Servlet Example.

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 Exception
Processes requests for both HTTP GET and POST methods. More...
void  doGet (HttpServletRequest request, HttpServletResponse response) throws ServletException
Handles the HTTP GET method. More...

Member Function Documentation

◆ doGet()

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

Handles the HTTP GET method.

Parameters
request - servlet request
response - servlet response
Exceptions
ServletException - if a servlet-specific 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 Exception
protected

Processes requests for both HTTP GET and POST methods.

Parameters
request - servlet request
response - servlet response
Exceptions
Exception - if a servlet-specific error or an I/O error occurs or if a value not available
Examples
servlet/Example.java.