|
|||||||||
| Home >> All >> [ configurator overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
configurator
Class JSPservletConfig

java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
configurator.JSPservletConfig
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- public class JSPservletConfig
- extends javax.servlet.http.HttpServlet
Publication configuration helper servlet. Changes:
- Version 1.0.4: support for Cocoon with download from our site.
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, 4
| Field Summary | |
(package private) java.lang.String |
AllPermissionPolicy
all permission policy file path. |
(package private) java.lang.String |
CachePath
Cache directory path. |
(package private) java.lang.String |
CApassword
Password to use to connect to CA for certificate. |
(package private) java.lang.String |
CAURL
Certificate Authority URL. |
(package private) java.lang.String |
CAuser
User to use to connect to CA for certificate. |
(package private) java.lang.String |
ClassPathDir
Version 1.0.4. |
(package private) java.lang.String |
CRLpassword
Password to use to connect to CA for CRL. |
(package private) int |
CRLperiod
Certificate Revocation List scan period. |
(package private) java.lang.String |
CRLURL
Certificate Revocation List URL. |
(package private) java.lang.String |
CRLuser
User to use to connect to CA for CRL. |
(package private) java.lang.String |
curDir
Application server current directory. |
(package private) java.lang.String |
DefaultPolicy
default property file path. |
(package private) int |
expiration
Static pages expiration time (sec). |
(package private) java.net.InetAddress |
ia
|
(package private) java.lang.String |
ID
Unique pagebox identifier. |
(package private) java.lang.String |
JSPservletURL
URL where to download JSPservlet. |
(package private) java.lang.String |
keystore
keystore name. |
(package private) java.lang.String |
keystorePassword
keystore password. |
(package private) java.lang.String |
LogFile
Log file cache. |
(package private) java.lang.String |
logName
name to use to invoke ServletLog. |
(package private) java.lang.String |
msg
msg buffer filled by check method. |
(package private) java.lang.String |
PageboxMapping
Version 1.0.4. |
(package private) java.lang.String |
Publishers
Property file path of publisher location per archive. |
(package private) java.lang.String |
RemoteLocations
Remote location property file path. |
(package private) javax.servlet.http.HttpServletRequest |
request
|
(package private) javax.servlet.http.HttpServletResponse |
response
|
(package private) java.lang.String |
statName
name to use to invoke ServletStat. |
(package private) boolean |
toStat
stat mode. |
(package private) boolean |
toTrace
trace mode. |
private static java.lang.String |
webInfClasses
copy classes found there and html without path |
(package private) java.lang.String |
webXml
web.xml path. |
| Fields inherited from class javax.servlet.http.HttpServlet |
|
| Fields inherited from class javax.servlet.GenericServlet |
|
| Constructor Summary | |
JSPservletConfig()
|
|
| Method Summary | |
private void |
check()
Checks parameter validity |
(package private) void |
copy(java.lang.String archive,
java.lang.String Url)
Version 1.0.4. |
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
GET request handling. |
private boolean |
generate(java.io.PrintWriter out,
boolean bHTTP)
Generates and returns a web.xml file. |
(package private) static java.lang.String |
genMapping(java.lang.String name,
java.lang.String value)
Service method invoked by generate. |
(package private) static java.lang.String |
genParm(java.lang.String name,
java.lang.String value,
java.lang.String descr)
Service method invoked by generate. |
private void |
initialize()
Initialize parameters. |
(package private) void |
setenv()
method setting remote environment in order to host JSPservlet. |
| 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, getServletInfo, getServletName, init, init, log, log |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
ID
java.lang.String ID
- Unique pagebox identifier.
keystore
java.lang.String keystore
- keystore name.
keystorePassword
java.lang.String keystorePassword
- keystore password.
CAURL
java.lang.String CAURL
- Certificate Authority URL.
CRLURL
java.lang.String CRLURL
- Certificate Revocation List URL.
CAuser
java.lang.String CAuser
- User to use to connect to CA for certificate.
CApassword
java.lang.String CApassword
- Password to use to connect to CA for certificate.
CRLuser
java.lang.String CRLuser
- User to use to connect to CA for CRL.
CRLpassword
java.lang.String CRLpassword
- Password to use to connect to CA for CRL.
expiration
int expiration
- Static pages expiration time (sec).
CRLperiod
int CRLperiod
- Certificate Revocation List scan period.
CachePath
java.lang.String CachePath
- Cache directory path.
LogFile
java.lang.String LogFile
- Log file cache.
RemoteLocations
java.lang.String RemoteLocations
- Remote location property file path.
Publishers
java.lang.String Publishers
- Property file path of publisher location per archive.
AllPermissionPolicy
java.lang.String AllPermissionPolicy
- all permission policy file path.
DefaultPolicy
java.lang.String DefaultPolicy
- default property file path.
ClassPathDir
java.lang.String ClassPathDir
- Version 1.0.4. Directory where to install ClassPath archives.
PageboxMapping
java.lang.String PageboxMapping
- Version 1.0.4. Mapping property file.
logName
java.lang.String logName
- name to use to invoke ServletLog.
statName
java.lang.String statName
- name to use to invoke ServletStat.
toTrace
boolean toTrace
- trace mode.
toStat
boolean toStat
- stat mode.
webXml
java.lang.String webXml
- web.xml path.
JSPservletURL
java.lang.String JSPservletURL
- URL where to download JSPservlet.
curDir
java.lang.String curDir
- Application server current directory.
msg
java.lang.String msg
- msg buffer filled by check method.
request
javax.servlet.http.HttpServletRequest request
response
javax.servlet.http.HttpServletResponse response
ia
java.net.InetAddress ia
webInfClasses
private static final java.lang.String webInfClasses
- copy classes found there and html without path
- See Also:
- Constant Field Values
| Constructor Detail |
JSPservletConfig
public JSPservletConfig()
| Method Detail |
doGet
public void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
- GET request handling.
initialize
private final void initialize()
- Initialize parameters.
check
private final void check()
- Checks parameter validity
generate
private final boolean generate(java.io.PrintWriter out, boolean bHTTP)
- Generates and returns a web.xml file.
genParm
static final java.lang.String genParm(java.lang.String name, java.lang.String value, java.lang.String descr)
- Service method invoked by generate. Builds a parameter entry (web.xml).
genMapping
static final java.lang.String genMapping(java.lang.String name, java.lang.String value)
- Service method invoked by generate. Builds a servlet mapping (web.xml).
setenv
void setenv()
- method setting remote environment in order to host JSPservlet.
should be invoked only if JSPservletConfig is installed on the target machine.
copy
void copy(java.lang.String archive, java.lang.String Url)
- Version 1.0.4.
Service method to download support archives from a repository.
|
|||||||||
| Home >> All >> [ configurator overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC