class: RestServlet

public class: RestServlet
Author: franke (initial creation)
Project: Phase: 1.0; Status: Proposed; Version: $Revision: 131 $ $LastChangedDate: 2007-11-21 18:5; Complexity: 1
Dates: Created: 16.07.2009 15:21:22; Modified: 16.07.2009 15:21:22;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {CB8C0FFC-66D5-45d6-A0BF-CC4C862662A6}
Servlet for the REST interface.
 

Goto: Custom Properties, Fields, Methods

See also: ItemValidating

Appears in: webservice

Connections
 
Custom Properties
 
RestServlet Attributes
Attribute Details
private ItemValidating
  itemValidating
annotations=@EJB
private static const Logger
  LOGGER
Initial: Logger.getLogger(RestServlet.class)
 
RestServlet Methods
Operation Details
protected const
doGet(
   HttpServletRequest req,
   HttpServletResponse resp):void
Sequential
Tags: annotations=@Override
throws=ServletException,IOException
Notes: {@inheritDoc}
protected const
doPost(
   HttpServletRequest req,
   HttpServletResponse resp):void
Sequential
Tags: annotations=@Override
throws=ServletException,IOException
Notes: {@inheritDoc}
private
getBodyContent(
   HttpServletRequest req):String
Sequential
Tags: throws=IOException
Notes: Read the request body into a string
private
handleException(
   Exception e,
   HttpServletResponse resp):void
Sequential
Tags: throws=Exception