|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
wt.httpgw.HTTPGatewayServlet
The servlet front end to the Windchill HTTP gateway. It's counter part is the CGI wrapper WTCGI.EXE. This servlet gathers and loads the HTTP request headers and parameters before instantiating the HTTPRequest and HTTPGateway objects which are passed to a method server for processing.
Field Summary | |
private static int |
AFFINITY_CACHE_SIZE
|
private static String |
FILTER_CLASS_LIST
|
private static Filter[] |
filters
|
private static String |
FORWARD_TAG
|
private static int |
initializedInstanceCount
|
private static boolean |
LOG_APPEND
|
private static boolean |
LOG_ENABLED
|
private static String |
LOG_FILE
|
private String |
myPathInfo
|
private ServerAffinityCache |
serverAffinityCache
|
private javax.servlet.ServletContext |
servletContext
|
private static boolean |
VERBOSE
|
private static int |
VERBOSITY
|
Fields inherited from class javax.servlet.http.HttpServlet |
|
Fields inherited from class javax.servlet.GenericServlet |
|
Constructor Summary | |
HTTPGatewayServlet()
|
Method Summary | |
void |
destroy()
Perform any and all necessary cleanup after init(). |
private static void |
destroyFilters()
Destroy and drop filter list (to prepare for potential subsequent init() call). |
protected String |
getName()
|
void |
init(javax.servlet.ServletConfig config)
Calls super.init(), remembers ServletContext and initializes filters. |
private static void |
initFilters(javax.servlet.ServletContext servletContext)
Initialize filters member variable. |
void |
service(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
This method calls any filters which have been configured for this servlet and finally calls serviceWithoutFilters() if the filters pass the request through by calling FilterChain.doFilter(). |
protected void |
serviceWithoutFilters(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Our protected serviceWithoutFilters 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 |
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 |
Field Detail |
private static final boolean VERBOSE
private static final int VERBOSITY
private static final String LOG_FILE
private static final boolean LOG_ENABLED
private static final boolean LOG_APPEND
private static final int AFFINITY_CACHE_SIZE
private static final String FILTER_CLASS_LIST
private static final String FORWARD_TAG
private static Filter[] filters
private static int initializedInstanceCount
private ServerAffinityCache serverAffinityCache
private javax.servlet.ServletContext servletContext
private String myPathInfo
Constructor Detail |
public HTTPGatewayServlet()
Method Detail |
protected String getName()
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
init
in interface javax.servlet.Servlet
config
- received from the hosting web server.
javax.servlet.ServletException
public void destroy()
destroy
in interface javax.servlet.Servlet
public void service(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, IOException
javax.servlet.ServletException
IOException
private static void initFilters(javax.servlet.ServletContext servletContext)
private static void destroyFilters()
protected void serviceWithoutFilters(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, IOException
The intent of this method as opposed to service() is that it this method is the raw servlet service handler without any filter application. It is called by service when filters pass the right request to the end of the filter chain.
javax.servlet.ServletException
IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |