public class ServletAddingUtil extends Object
exitPotentialRedirect().
Before firing beforeRequest event on request listeners check if shouldRedirect() is true, if yes then
that means a servlet was added and we should do a redirect.
If during reload a servlet was added call servletAdded()
For an example see ServletInitialHandlerCBP.java and UndertowDeploymentProcessorCBP.java
| Constructor and Description |
|---|
ServletAddingUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
exitPotentialRedirect() |
static void |
servletAdded() |
static boolean |
shouldRedirect() |
Copyright © 2018. All rights reserved.