com.ptc.windchill.index.indexloader
Class IndexLoaderServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.ptc.windchill.index.indexloader.IndexLoaderServlet
- All Implemented Interfaces:
- CGIConstants, Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- public class IndexLoaderServlet
- extends javax.servlet.http.HttpServlet
- implements CGIConstants
The servlet front end to the Verity IndexLoader program. It's counter
part is the CGI wrapper WTindexCGI.EXE. This servlet gathers and loads
the IndexLoader request headers and parameters before instantiating the
IndexLoaderRequest and IndexLoaderResponse objects which are passed to the
IndexLoader processRequest method.
The response headers and response itself are handled by
the response object.
This class (servlet) will now log to IndexLoader.log if
logs are enabled and wt.indexloader.verbose is set to
true in the wt.properties.
- See Also:
- Serialized Form
Fields inherited from class javax.servlet.http.HttpServlet |
|
Fields inherited from class javax.servlet.GenericServlet |
|
Fields inherited from interface com.ptc.windchill.index.indexloader.CGIConstants |
CGI_ACCEPT, CGI_ACCEPT_CHARSET, CGI_ACCEPT_LANGUAGE, CGI_AUTH_TYPE, CGI_AUTHORIZATION, CGI_CONNECTION, CGI_CONTENT_LENGTH, CGI_CONTENT_TYPE, CGI_DELETE_METHOD, CGI_GATEWAY_INTERFACE, CGI_GET_METHOD, CGI_HEAD_METHOD, CGI_HOST, CGI_MULTIPART_BOUNDARY, CGI_PATH_INFO, CGI_PATH_TRANSLATED, CGI_POST_METHOD, CGI_PRAGMA, CGI_PROPERTY_PREFIX, CGI_PROTOCOL, CGI_PUT_METHOD, CGI_QUERY_STRING, CGI_REFERER, CGI_REMOTE_ADDR, CGI_REMOTE_HOST, CGI_REMOTE_IDENT, CGI_REMOTE_USER, CGI_REQUEST_METHOD, CGI_SCHEME, CGI_SCRIPT_NAME, CGI_SERVER_NAME, CGI_SERVER_PORT, CGI_SERVER_PROTOCOL, CGI_SERVER_SOFTWARE, CGI_TRACE_METHOD, CGI_UA_COLOR, CGI_UA_CPU, CGI_UA_OS, CGI_UA_PIXELS, CGI_URI, CGI_URL, CGI_USER_AGENT |
Method Summary |
void |
init(javax.servlet.ServletConfig config)
Our public init method just calls super. |
private void |
load_cgi_data(Properties cgi_data,
javax.servlet.http.HttpServletRequest _req)
Gets the HTTP request header info from the HttpServletRequest object
and loads it into our Properties structure. |
void |
service(javax.servlet.http.HttpServletRequest _req,
javax.servlet.http.HttpServletResponse _res)
Our public service method gathers and loads the HTTP headers etc. |
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service |
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
versionID
private static final String versionID
- See Also:
- Constant Field Values
servletConstants
private static ServletConstants servletConstants
IndexLoaderServlet
public IndexLoaderServlet()
init
public void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
- Our public init method just calls super.
- Specified by:
init
in interface javax.servlet.Servlet
- Throws:
javax.servlet.ServletException
service
public void service(javax.servlet.http.HttpServletRequest _req,
javax.servlet.http.HttpServletResponse _res)
throws javax.servlet.ServletException,
IOException
- Our public service method gathers and loads the HTTP headers etc.
into a Properties structure that is passed to the request object
constructor.
- Throws:
javax.servlet.ServletException
IOException
load_cgi_data
private void load_cgi_data(Properties cgi_data,
javax.servlet.http.HttpServletRequest _req)
- Gets the HTTP request header info from the HttpServletRequest object
and loads it into our Properties structure.