Interface WebResourceManager
public interface WebResourceManager
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addServlet
(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>
int
int
org.apache.wicket.request.resource.PackageResourceReference
Returns the resource reference for the jquery-ui css referencejavax.servlet.ServletContext
Returns 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.WebApplication
Get the WebApplication (root of Wicket) for the gateway.boolean
void
removeServlet
(String servletNname) void
setResponseConfigPanel
(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
Optional
containing theHttpServletRequest
associated with the current thread, or an empty Optional if no such HttpServletRequest is associated with the current thread
-