Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

JSPservletPkg
Class ServletLog  view ServletLog download ServletLog.java

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended byJSPservletPkg.ServletLog
All Implemented Interfaces:
org.osgi.service.http.HttpContext, java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class ServletLog
extends javax.servlet.http.HttpServlet
implements org.osgi.service.http.HttpContext

Log display servlet.

Copyright (c) 2000-2001

 This program is free software; you can redistribute it and/or
 modify it under the terms of the GNU General Public License
 as published by the Free Software Foundation; version 2
 of the License.
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 

Version:
1, 0

Field Summary
(package private)  BasicSchemeHandler basic
          Page access security.
(package private)  JSPhandler handler
          JSPhandler that created ServletLog.
 
Fields inherited from class javax.servlet.http.HttpServlet
 
Fields inherited from class javax.servlet.GenericServlet
 
Fields inherited from interface org.osgi.service.http.HttpContext
AUTHENTICATION_TYPE, AUTHORIZATION, REMOTE_USER
 
Constructor Summary
ServletLog(JSPhandler jh)
          Constructor.
 
Method Summary
(package private)  void challenge(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
          Invokes BasicSchemeHandler sendChallenge.
 void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          GET request handling.
 java.lang.String getMimeType(java.lang.String str)
          HttpContext interface's getMimeType.
 java.net.URL getResource(java.lang.String str)
          HttpContext interface getResource.
 java.lang.String getServletInfo()
          Returns information about the servlet, such as author, version, and copyright.
 boolean handleSecurity(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
          HttpContext interface's handleSecurity.
 void init(javax.servlet.ServletConfig config)
          Invoked by Servlet container.
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

handler

JSPhandler handler
JSPhandler that created ServletLog. It implements also BundleActivator, ServiceListener.


basic

BasicSchemeHandler basic
Page access security.

Constructor Detail

ServletLog

public ServletLog(JSPhandler jh)
Constructor.

Method Detail

init

public void init(javax.servlet.ServletConfig config)
          throws javax.servlet.ServletException
Invoked by Servlet container.

Specified by:
init in interface javax.servlet.Servlet

doGet

public void doGet(javax.servlet.http.HttpServletRequest request,
                  javax.servlet.http.HttpServletResponse response)
           throws javax.servlet.ServletException,
                  java.io.IOException
GET request handling.


getServletInfo

public java.lang.String getServletInfo()
Description copied from class: javax.servlet.GenericServlet
Returns information about the servlet, such as author, version, and copyright. By default, this method returns an empty string. Override this method to have it return a meaningful value. See Servlet.getServletInfo()>Servlet.getServletInfo() 55 .

Specified by:
getServletInfo in interface javax.servlet.Servlet

getResource

public java.net.URL getResource(java.lang.String str)
HttpContext interface getResource.

Specified by:
getResource in interface org.osgi.service.http.HttpContext

getMimeType

public java.lang.String getMimeType(java.lang.String str)
HttpContext interface's getMimeType.

Specified by:
getMimeType in interface org.osgi.service.http.HttpContext

handleSecurity

public boolean handleSecurity(javax.servlet.http.HttpServletRequest req,
                              javax.servlet.http.HttpServletResponse res)
HttpContext interface's handleSecurity.

Specified by:
handleSecurity in interface org.osgi.service.http.HttpContext

challenge

void challenge(javax.servlet.http.HttpServletRequest req,
               javax.servlet.http.HttpServletResponse res)
Invokes BasicSchemeHandler sendChallenge.