Class WebAppImpl
java.lang.Object
org.exoplatform.component.test.web.WebAppImpl
- All Implemented Interfaces:
org.gatein.wci.WebApp
-
Constructor Summary
ConstructorsConstructorDescriptionWebAppImpl(jakarta.servlet.ServletContext servletContext, ClassLoader loader) WebAppImpl(Class<?> base, String path, String name) -
Method Summary
Modifier and TypeMethodDescriptionvoidfireRequestDestroyed(jakarta.servlet.ServletRequest servletRequest) voidfireRequestInitialized(jakarta.servlet.ServletRequest servletRequest) jakarta.servlet.http.HttpSessionjakarta.servlet.ServletContextbooleanimportFile(String parentDirRelativePath, String name, InputStream source, boolean overwrite) booleaninvalidateSession(String sessId)
-
Constructor Details
-
WebAppImpl
public WebAppImpl(jakarta.servlet.ServletContext servletContext, ClassLoader loader) throws NullPointerException - Throws:
NullPointerException
-
WebAppImpl
-
-
Method Details
-
getServletContext
public jakarta.servlet.ServletContext getServletContext()- Specified by:
getServletContextin interfaceorg.gatein.wci.WebApp
-
getClassLoader
- Specified by:
getClassLoaderin interfaceorg.gatein.wci.WebApp
-
getContextPath
- Specified by:
getContextPathin interfaceorg.gatein.wci.WebApp
-
importFile
public boolean importFile(String parentDirRelativePath, String name, InputStream source, boolean overwrite) throws IOException - Specified by:
importFilein interfaceorg.gatein.wci.WebApp- Throws:
IOException
-
invalidateSession
-
getHttpSession
- Specified by:
getHttpSessionin interfaceorg.gatein.wci.WebApp
-
fireRequestDestroyed
public void fireRequestDestroyed(jakarta.servlet.ServletRequest servletRequest) - Specified by:
fireRequestDestroyedin interfaceorg.gatein.wci.WebApp
-
fireRequestInitialized
public void fireRequestInitialized(jakarta.servlet.ServletRequest servletRequest) - Specified by:
fireRequestInitializedin interfaceorg.gatein.wci.WebApp
-