com.intrinsyc.janet
Class JanetServlet

java.lang.Object
  |
  +--javax.servlet.GenericServlet
        |
        +--javax.servlet.http.HttpServlet
              |
              +--com.intrinsyc.janet.JanetServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class JanetServlet
extends javax.servlet.http.HttpServlet

Allows Ja.NET to be deployed in a web server supporting Servlets. See examples for more information on how this class can be utilized.

© 2007 Intrinsyc Software International, Inc. All rights reserved.

Version:
1.4
See Also:
Serialized Form

Constructor Summary
JanetServlet()
           
 
Method Summary
 void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Handle the HTTP GET method by building a simple web page (provided only as an aid in debugging).
 void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Processes an incoming .NET remoting request.
 java.lang.String getServletInfo()
          Provides a short description of this servlet.
 void init()
          Initializes the servlet.
 
Methods inherited from class javax.servlet.http.HttpServlet
service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JanetServlet

public JanetServlet()
Method Detail

doGet

public void doGet(javax.servlet.http.HttpServletRequest request,
                  javax.servlet.http.HttpServletResponse response)
           throws javax.servlet.ServletException,
                  java.io.IOException
Handle the HTTP GET method by building a simple web page (provided only as an aid in debugging).

Overrides:
doGet in class javax.servlet.http.HttpServlet
Parameters:
request - Servlet request.
response - Servlet response.
Throws:
java.io.IOException
javax.servlet.ServletException

doPost

public void doPost(javax.servlet.http.HttpServletRequest request,
                   javax.servlet.http.HttpServletResponse response)
            throws java.io.IOException,
                   javax.servlet.ServletException
Processes an incoming .NET remoting request.

Overrides:
doPost in class javax.servlet.http.HttpServlet
Parameters:
request - Servlet request.
response - Servlet response.
Throws:
java.io.IOException
javax.servlet.ServletException

getServletInfo

public java.lang.String getServletInfo()
Provides a short description of this servlet.

Specified by:
getServletInfo in interface javax.servlet.Servlet
Overrides:
getServletInfo in class javax.servlet.GenericServlet
Returns:
String Description of this servlet.

init

public void init()
          throws javax.servlet.ServletException
Initializes the servlet.

Overrides:
init in class javax.servlet.GenericServlet
Throws:
javax.servlet.ServletException