Method Summary |
|
public void | accessLog(HttpServletRequest req, HttpServletResponse res) |
public void | addCacheMapping(CacheMapping mapping) Returns the maximum length for a cache. |
public void | addConfigFile(Path path) Backwards compatability for config-file. |
public void | addContextParam(InitParam initParam) |
public void | addErrorPage(ErrorPage errorPage) |
public void | addFilter(FilterConfigImpl config) Adds a filter configuration. |
public void | addFilterMapping(FilterMapping filterMapping) Adds a filter-mapping configuration. |
public void | addJspConfig(JspConfig config) |
public void | addListener(Listener listener) |
public void | addMimeMapping(MimeMapping mimeMapping) |
public void | addPathMapping(PathMapping pathMapping) |
public void | addPersistenceContextRef(PersistenceContextRefConfig persistenceContextRefConfig) Adds a persistence-context-ref configuration. |
public void | addResourceRef(ResourceRef ref) Adds a ResourceRef validator. |
public void | addSecurityConstraint(SecurityConstraint constraint) |
public void | addSecurityRole(SecurityRole role) |
public void | addServlet(ServletConfigImpl config) Adds a servlet configuration. |
public void | addServletMapping(ServletMapping servletMapping) Adds a servlet-mapping configuration. |
public void | addServletRegexp(ServletRegexp servletRegexp) Adds a servlet-regexp configuration. |
public void | addSessionConfig(SessionManager manager) Adds the session manager. |
public void | addStatus500() |
public void | addTaglib(JspTaglib taglib) |
public void | addWebApp(WebAppConfig config) |
public void | addWebAppDefault(WebAppConfig config) |
public void | addWebAppDeploy(WebAppExpandDeployGenerator deploy) |
public void | addWelcomeFileList(WelcomeFileList list) Adds a welcome file list to the webApp. |
public void | buildDispatchInvocation(Invocation invocation, FilterMapper filterMapper) Fills the invocation for subrequests. |
public void | buildErrorInvocation(Invocation invocation) Fills the invocation for an error request. |
public void | buildForwardInvocation(Invocation invocation) Fills the invocation for a forward request. |
public void | buildIncludeInvocation(Invocation invocation) Fills the invocation for an include request. |
public Invocation | buildInvocation(Invocation invocation) Fills the servlet instance. |
public void | buildLoginInvocation(Invocation invocation) Fills the invocation for a login request. |
public void | clearCache() Clears all caches, including the invocation cache, the filter cache, and the proxy cache. |
public AccessLog | createAccessLog() Sets the access log. |
public InitParam | createContextParam() |
public EjbLocalRef | createEjbLocalRef() |
public EjbRef | createEjbRef() |
public JspPropertyGroup | createJsp() |
public JspConfig | createJspConfig() |
public LocaleEncodingMappingList | createLocaleEncodingMappingList() Configures the locale encoding. |
public MultipartForm | createMultipartForm() Multipart form config. |
public RewriteDispatch | createRewriteDispatch() Adds rewrite-dispatch. |
public RewriteRealPath | createRewriteRealPath() Adds rewrite-real-path. |
public ServletConfigImpl | createServlet() Adds a servlet configuration. |
public ServletMapping | createServletMapping() |
public SessionManager | createSessionConfig() Configures the session manager. |
public WebAppExpandDeployGenerator | createWebAppDeploy() |
public void | destroy() Closes the webApp. |
public boolean | doMultipartForm() Returns true if multipart forms are enabled. |
final boolean | enterWebApp() Called when a request starts the webApp. |
final void | exitWebApp() Called when a request starts the webApp. |
public AbstractAccessLog | getAccessLog() |
public int | getActiveSessionCount() Returns the active session count. |
public WebAppAdmin | getAdmin() |
public Path | getAppDir() Gets the webApp directory. |
public ServletAuthenticator | getAuthenticator() |
public long | getCacheMaxLength() Returns the maximum length for a cache. |
public String | getCharacterEncoding() Returns the character encoding. |
public ClassLoader | getClassLoader() Gets the environment class loader. |
public String[] | getClassLoaderHackPackages() Returns the classloader hack packages. |
public Cluster | getCluster() Returns the current cluster. |
public Throwable | getConfigException() Gets the config exception. |
public ServletContext | getContext(String uri) Returns the servlet context for the URI. |
public String | getContextPath() |
public boolean | getCookieHttpOnly() |
public String | getDescription() |
public DispatchServer | getDispatchServer() Gets the dispatch server. |
public boolean | getDispatchWrapsFilters() Get true if includes wrap filters. |
public EnvironmentClassLoader | getEnvironmentClassLoader() Gets the environment class loader. |
public ErrorPageManager | getErrorPageManager() Gets the error page manager. |
public Object | getExtension(String key) Returns an extension. |
public long | getFormUploadMax() Returns the form upload max. |
public HostMXBean | getHostAdmin() |
public String | getHostName() |
public DependencyContainer | getInvocationDependency() |
public JspPropertyGroup | getJsp() Returns the JSP configuration. |
public JspApplicationContextImpl | getJspApplicationContext() Returns the JspApplicationContext for EL evaluation. |
public static WebApp | getLocal() Returns the local webApp. |
public String | getLocaleEncoding(Locale locale) Returns the locale encoding. |
public AbstractLogin | getLogin() Gets the login manager. |
public RequestDispatcher | getLoginDispatcher(String url) Returns a dispatcher for the named servlet. |
public long | getMaxAge(String uri) Returns the time for a cache mapping. |
public String | getMimeType(String uri) |
public String | getMimeTypeImpl(String ext) Maps from a URI to a real path. |
public RequestDispatcher | getNamedDispatcher(String servletName) Returns a dispatcher for the named servlet. |
public ObjectName | getObjectName() Returns the ObjectName. |
public WebAppContainer | getParent() Gets the parent container. |
public String | getRealPath(String uri) Maps from a URI to a real path. |
public String | getRealPathImpl(String uri) Maps from a URI to a real path. |
public ArrayList<String> | getRegexp() Gets the regexp vars. |
public ServletRequestAttributeListener[] | getRequestAttributeListeners() Returns the request attribute listeners. |
public int | getRequestCount() Returns the request count. |
public RequestDispatcher | getRequestDispatcher(String url) Returns a dispatcher for the named servlet. |
public ServletRequestListener[] | getRequestListeners() Returns the request listeners. |
static ThreadLocal<ServletRequest> | getRequestThreadLocal() |
public long | getSMaxAge(String uri) Returns the time for a cache mapping. |
public String | getSchema() Returns the relax schema. |
public Server | getServer() Gets the dispatch server. |
public ArrayList<String> | getServletIgnoreMappingPatterns() Returns the best matching servlet pattern. |
public ArrayList<String> | getServletMappingPatterns() Returns the best matching servlet pattern. |
public String | getServletPattern(String uri) Returns the best matching servlet pattern. |
public SessionManager | getSessionManager() Gets the session manager. |
public String | getState() Returns true if the webApp is active. |
long | getStatus500CountTotal() |
long | getStatus500LastTime() |
public boolean | getStrictMapping() Get the strict mapping setting. |
public ArrayList<JspTaglib> | getTaglibList() Returns the taglib configuration. |
public static ServletRequest | getThreadRequest() |
public String | getURL() |
public String | getVersion() Returns the servlet version. |
public ArrayList<WebAppConfig> | getWebAppDefaultList() |
public boolean | has23Config() |
public boolean | hasListener(Class listenerClass) Returns true if a listener with the given type exists. |
public void | init() Initializes. |
public boolean | isActive() Returns true if the webApp is active. |
public boolean | isClosed() Returns true if it's closed. |
public boolean | isDeployError() Returns true if the webApp deployed with an error. |
public boolean | isDeployIdle() Returns true if the deployment is idle. |
public boolean | isDynamicDeploy() Set true for a dynamically deployed server. |
public boolean | isIgnoreClientDisconnect() Returns true if should ignore client disconnect. |
public boolean | isInheritSession() Gets inherit session. |
public boolean | isInit() Returns true if it's init. |
public boolean | isInitializing() |
public boolean | isModified() Returns true if the webApp has been modified. |
public boolean | isModifiedNow() Returns true if the webApp has been modified. |
public void | log(String message, Throwable e) |
public boolean | logModified(Logger log) Log the reason for modification. |
public void | putLocaleEncoding(String locale, String encoding) |
public void | setAccessLog(AbstractAccessLog log) Sets the access log. |
public void | setActiveWaitTime(Period wait) |
public void | setAllowServletEL(boolean allow) Sets the servlet init-param EL enabling. |
public void | setAppDir(Path appDir) Sets the webApp directory. |
public void | setConfigException(Throwable e) Sets the config exception. |
public void | setConfigNode(org.w3c.dom.Node node) Sets the node for testing Servlet/JSP versions. |
public void | setCookieHttpOnly(boolean isHttpOnly) |
public void | setDescription(String description) |
public void | setDirectoryServlet(String className) |
public void | setDisableCrossContext(boolean isDisable) If true, disables getContext(). |
public void | setDispatchWrapsFilters(boolean wrap) Set true if includes wrap filters. |
public void | setDistributable(boolean isDistributable) |
public void | setDocumentDirectory(Path appDir) Sets the document directory (app-dir). |
public void | setDynamicDeploy(boolean isDynamicDeploy) Set true for a dynamically deployed server. |
public void | setEnvironmentClassLoader(EnvironmentClassLoader loader) Sets the environment class loader. |
public void | setIcon(com.caucho.config.types.Icon icon) |
public void | setId(String id) The id is the context path. |
public void | setIdleTime(Period idle) Sets the delay time waiting for requests to end. |
public void | setInheritSession(boolean isInheritSession) Sets inherit session. |
public void | setLazyServletValidate(boolean isLazy) Lazy servlet validation. |
public void | setLogin(Login login) |
public void | setLoginConfig(LoginConfig loginConfig) |
public void | setOldWebApp(WebApp oldWebApp, long expireTime) Sets the old version web-app. |
public void | setParent(WebAppContainer parent) Sets the parent container. |
public void | setRedeployMode(String mode) |
public void | setRegexp(ArrayList<String> regexp) Sets the regexp vars. |
public void | setRootDirectory(Path appDir) Sets the root directory (app-dir). |
public void | setSchemaLocation(String location) Sets the schema location. |
public void | setSecure(boolean isSecure) Sets the secure requirement. |
public void | setShutdownWaitMax(Period wait) Sets the delay time waiting for requests to end. |
public void | setStrictMapping(boolean isStrict) Set true if strict mapping. |
public void | setTempDir(Path path) |
public void | setVersion(String version) Sets the servlet version. |
public void | start() |
public void | stop() Stops the webApp. |
public String | toString() |
void | updateStatistics(long time, int readBytes, int writeBytes, boolean isClientDisconnect) |