java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
JSPservletPkg.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 |
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
handler
JSPhandler handler
- JSPhandler that created ServletLog.
It implements also BundleActivator, ServiceListener.
basic
BasicSchemeHandler basic
- Page access security.
ServletLog
public ServletLog(JSPhandler jh)
- Constructor.
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.