Package io.undertow.servlet
Interface ServletExtension
public interface ServletExtension
Interface that allows the servlet deployment to be modified before it is deployed.
These extensions are loaded using a
ServiceLoader
from the deployment
class loader, and are the first things run after the servlet context is created.
There are many possible use cases for these extensions. Some obvious ones are:
- Adding additional handlers
- Adding new authentication mechanisms
- Adding and removing servlets- Author:
- Stuart Douglas
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handleDeployment
(DeploymentInfo deploymentInfo, javax.servlet.ServletContext servletContext)
-
Method Details
-
handleDeployment
-