Interface WebResourceManager
public interface WebResourceManager
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddServlet(String servletName, Class<? extends javax.servlet.http.HttpServlet> servletClass) Class<? extends org.apache.wicket.markup.html.WebPage>Class<? extends org.apache.wicket.markup.html.WebPage>intintorg.apache.wicket.request.resource.PackageResourceReferenceReturns the resource reference for the jquery-ui css referencejavax.servlet.ServletContextReturns the ServletContext that is associated with this context.Optional<javax.servlet.http.HttpServletRequest>Class<? extends org.apache.wicket.markup.html.WebPage>org.apache.wicket.protocol.http.WebApplicationGet the WebApplication (root of Wicket) for the gateway.booleanvoidremoveServlet(String servletNname) voidsetResponseConfigPanel(ConfigPanel responsePanel)
-
Method Details
-
getHttpPort
int getHttpPort() -
getHttpsPort
int getHttpsPort() -
isForceSecureRedirect
boolean isForceSecureRedirect() -
getServletContext
javax.servlet.ServletContext getServletContext()Returns the ServletContext that is associated with this context. -
getHomePage
Class<? extends org.apache.wicket.markup.html.WebPage> getHomePage() -
getStatusPage
Class<? extends org.apache.wicket.markup.html.WebPage> getStatusPage() -
getConfigurePage
Class<? extends org.apache.wicket.markup.html.WebPage> getConfigurePage() -
getWebApplication
org.apache.wicket.protocol.http.WebApplication getWebApplication()Get the WebApplication (root of Wicket) for the gateway. -
addServlet
-
removeServlet
-
setResponseConfigPanel
-
getJQueryUiCssReference
org.apache.wicket.request.resource.PackageResourceReference getJQueryUiCssReference()Returns the resource reference for the jquery-ui css reference -
getServletRequest
Optional<javax.servlet.http.HttpServletRequest> getServletRequest()- Returns:
- an
Optionalcontaining theHttpServletRequestassociated with the current thread, or an empty Optional if no such HttpServletRequest is associated with the current thread
-