|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
configurator.PublishConfig
Publication configuration helper servlet. Changes:
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.
JSPservlet
Field Summary | |
(package private) java.lang.String |
curDir
|
(package private) java.net.InetAddress |
ia
|
(package private) java.lang.String |
Logfile
Log file path. |
(package private) int |
MaxLength
Archive maximum size. |
(package private) java.lang.String |
msg
msg buffer filled by check method. |
(package private) java.lang.String |
PageBoxURLs
Serialized file describing target PageBoxes. |
(package private) java.lang.String |
publisherURL
URL where to download PublishServer. |
(package private) java.lang.String |
Repository
Directory where to upload archives. |
(package private) java.lang.String |
repositoryURL
URL where to download archives. |
(package private) configurator.HttpServletRequest |
request
|
(package private) configurator.HttpServletResponse |
response
|
(package private) boolean |
toTrace
trace mode. |
(package private) java.lang.String |
webXml
web.xml path. |
Constructor Summary | |
PublishConfig()
|
Method Summary | |
private void |
check()
Checks parameter validity |
void |
doGet(configurator.HttpServletRequest request,
configurator.HttpServletResponse response)
GET request handling. |
private boolean |
generate(java.io.PrintWriter out,
boolean bHTTP)
Generates and returns a web.xml file. |
private void |
initialize()
Initialize parameters. |
(package private) void |
setenv()
method setting remote environment in order to host PublishServlet. should be invoked only if JSPservletConfig is installed on the target machine. |
Field Detail |
java.lang.String Repository
java.lang.String repositoryURL
int MaxLength
java.lang.String Logfile
java.lang.String PageBoxURLs
java.lang.String webXml
java.lang.String publisherURL
java.lang.String msg
boolean toTrace
java.lang.String curDir
configurator.HttpServletRequest request
configurator.HttpServletResponse response
java.net.InetAddress ia
Constructor Detail |
public PublishConfig()
Method Detail |
public void doGet(configurator.HttpServletRequest request, configurator.HttpServletResponse response) throws configurator.ServletException, java.io.IOException
request
- HttpServletRequest.response
- HttpServletResponse.private final void initialize()
private final void check()
private final boolean generate(java.io.PrintWriter out, boolean bHTTP)
out
- PrintWriter.bHTTP
- true - set response time (HTTP flow).void setenv()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |