ix.iserve.ipc
Class IServeCommServer.RegistrationServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by ix.util.http.HttpObjectServlet
              extended by ix.iserve.ipc.IServeCommServer.RegistrationServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
Enclosing class:
IServeCommServer

 class IServeCommServer.RegistrationServlet
extends HttpObjectServlet


Field Summary
 
Fields inherited from class ix.util.http.HttpObjectServlet
responseCharsetName, responseContentType, util
 
Constructor Summary
IServeCommServer.RegistrationServlet()
           
 
Method Summary
protected  java.lang.Object handleRequest(javax.servlet.http.HttpServletRequest req, java.lang.Object contents)
          The main part of handling the request.
 
Methods inherited from class ix.util.http.HttpObjectServlet
decodeReceived, describeRequest, doPost, encodeForSend, main, readRequest, sendResponse, setResponseCharsetName, setResponseContentType
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IServeCommServer.RegistrationServlet

IServeCommServer.RegistrationServlet()
Method Detail

handleRequest

protected java.lang.Object handleRequest(javax.servlet.http.HttpServletRequest req,
                                         java.lang.Object contents)
                                  throws HttpRequestException
Description copied from class: HttpObjectServlet
The main part of handling the request. The contents have already been read and turned into an object by calling HttpObjectServlet.decodeReceived(String). The HttpServletRequest is passed primarily to allow this method to look at the request headers.

Specified by:
handleRequest in class HttpObjectServlet
Returns:
the object to encode and send as a response.
Throws:
HttpRequestException - to indicate that an error response should be sent. The status value and message will be taken from the exception.