Interface WrapSupportingDynamic
-
- All Superinterfaces:
javax.servlet.Registration
,javax.servlet.Registration.Dynamic
,javax.servlet.ServletRegistration
,javax.servlet.ServletRegistration.Dynamic
- All Known Implementing Classes:
DeferredDynamic
public interface WrapSupportingDynamic extends javax.servlet.ServletRegistration.Dynamic
ThisDynamic
allows to set the servlet context to allow for wrapping servlet contexts when adding servlets. Wrapping servlet contexts need to exchange the servlet context within theDynamic
since the set servlet context does not know about the wrapping.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setWrappingServletContext(javax.servlet.ServletContext wrapped, javax.servlet.ServletContext wrapper)
Set the designated wrapping servlet context if thisDynamic
contains the designatedwrapped
servlet context.-
Methods inherited from interface javax.servlet.Registration
getClassName, getInitParameter, getInitParameters, getName, setInitParameter, setInitParameters
-
-
-
-
Method Detail
-
setWrappingServletContext
void setWrappingServletContext(javax.servlet.ServletContext wrapped, javax.servlet.ServletContext wrapper)
Set the designated wrapping servlet context if thisDynamic
contains the designatedwrapped
servlet context.- Parameters:
wrapped
- The wrapped servlet context thisDynamic
may contain.wrapper
- The wrapping servlet context to replace the servlet context within thisDynamic
.
-
-