ch.othello.openscep.servlet
Class BasicServlet
java.lang.Object
|
+--Acme.Serve.servlet.GenericServlet
|
+--Acme.Serve.servlet.http.HttpServlet
|
+--ch.othello.openscep.servlet.BasicServlet
- All Implemented Interfaces:
- Serializable, Acme.Serve.servlet.Servlet
- Direct Known Subclasses:
- BasicPollServlet, BasicRequestServlet
- public class BasicServlet
- extends Acme.Serve.servlet.http.HttpServlet
Basic Servlet for the Scep Proxy
$Id: BasicPollServlet.java,v 1.2 2002/02/22 07:40:05 alani Exp $
$Log: BasicPollServlet.java,v $
- Since:
- $Date: 2002/02/22 07:40:05 $
- Version:
- $Revision: 1.2 $
- Author:
- See Also:
- Serialized Form
Fields inherited from class Acme.Serve.servlet.GenericServlet |
|
Methods inherited from class Acme.Serve.servlet.http.HttpServlet |
service |
Methods inherited from class Acme.Serve.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, init, init, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
configFile
static String configFile
options
static Properties options
res
protected ResourceBundle res
locale
protected Locale locale
scep
protected ScepClient scep
decoHead
protected String decoHead
decoFoot
protected String decoFoot
BasicServlet
public BasicServlet()
service
public void service(Acme.Serve.servlet.http.HttpServletRequest req,
Acme.Serve.servlet.http.HttpServletResponse response)
throws Acme.Serve.servlet.ServletException,
IOException
- Specified by:
service
in class Acme.Serve.servlet.http.HttpServlet
Acme.Serve.servlet.ServletException
IOException
setConfigFile
public static void setConfigFile(String file)
loadConfig
protected void loadConfig()
sendErrorPage
public void sendErrorPage(Acme.Serve.servlet.http.HttpServletResponse response,
Exception e)
throws IOException
IOException
initLocale
public void initLocale(Acme.Serve.servlet.http.HttpServletRequest req)
loadDecorator
private void loadDecorator()
sendHeader
public void sendHeader(Acme.Serve.servlet.ServletOutputStream p,
String title)
throws IOException
IOException
sendFooter
public void sendFooter(Acme.Serve.servlet.ServletOutputStream p)
throws IOException
IOException
ScepClient is copyright by Ueli Rutishauser + Alain Schaefer