| Modifier and Type | Class and Description |
|---|---|
| private static class | ManagedServlet.
The default servlet pooling strategy that just uses a single instance for all requests |
| pack-priv static interface | ManagedServlet.
interface used to abstract the difference between single thread model servlets and normal servlets |
| Modifier and Type | Field and Description |
|---|---|
| private FormParserFactory | |
| private final ManagedServlet. | |
| private long | |
| private MultipartConfigElement | |
| private volatile boolean | |
| private final ServletContextImpl | |
| private final ServletInfo | |
| private volatile boolean | |
| private volatile long | |
| private static final AtomicLongFieldUpdater |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public FormParserFactory | |
| public long | |
| public MultipartConfigElement | |
| public InstanceHandle | |
| public ServletInfo | |
| public void | |
| public boolean | |
| public boolean | |
| public boolean | |
| public void | |
| public void | |
| public synchronized void | |
| public synchronized void | |
| public String |
| formParserFactory | back to summary |
|---|---|
| private FormParserFactory formParserFactory | |
| instanceStrategy | back to summary |
|---|---|
| private final ManagedServlet. | |
| maxMultipartRequestSize | back to summary |
|---|---|
| private long maxMultipartRequestSize | |
| multipartConfig | back to summary |
|---|---|
| private MultipartConfigElement multipartConfig | |
| permanentlyUnavailable | back to summary |
|---|---|
| private volatile boolean permanentlyUnavailable | |
| servletContext | back to summary |
|---|---|
| private final ServletContextImpl servletContext | |
| servletInfo | back to summary |
|---|---|
| private final ServletInfo servletInfo | |
| started | back to summary |
|---|---|
| private volatile boolean started | |
| unavailableUntil | back to summary |
|---|---|
private volatile long unavailableUntil
| |
| unavailableUntilUpdater | back to summary |
|---|---|
| private static final AtomicLongFieldUpdater<ManagedServlet> unavailableUntilUpdater | |
| ManagedServlet | back to summary |
|---|---|
| public ManagedServlet(final ServletInfo servletInfo, final ServletContextImpl servletContext) | |
| createServlet | back to summary |
|---|---|
| public void createServlet() throws ServletException | |
| forceInit | back to summary |
|---|---|
| public void forceInit() throws ServletException | |
| getFormParserFactory | back to summary |
|---|---|
| public FormParserFactory getFormParserFactory() | |
| getMaxRequestSize | back to summary |
|---|---|
| public long getMaxRequestSize() This value determines max multipart message size | |
| getMultipartConfig | back to summary |
|---|---|
| public MultipartConfigElement getMultipartConfig() | |
| getServlet | back to summary |
|---|---|
| public InstanceHandle | |
| getServletInfo | back to summary |
|---|---|
| public ServletInfo getServletInfo() | |
| handleUnavailableException | back to summary |
|---|---|
| public void handleUnavailableException(UnavailableException e) | |
| isPermanentlyUnavailable | back to summary |
|---|---|
| public boolean isPermanentlyUnavailable() | |
| isStarted | back to summary |
|---|---|
| public boolean isStarted() Implements io.
| |
| isTemporarilyUnavailable | back to summary |
|---|---|
| public boolean isTemporarilyUnavailable() | |
| setPermanentlyUnavailable | back to summary |
|---|---|
| public void setPermanentlyUnavailable(final boolean permanentlyUnavailable) | |
| setupMultipart | back to summary |
|---|---|
| public void setupMultipart(ServletContextImpl servletContext) | |
| start | back to summary |
|---|---|
| public synchronized void start() throws ServletException Implements io. | |
| stop | back to summary |
|---|---|
| public synchronized void stop() Implements io. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| Modifier and Type | Field and Description |
|---|---|
| private ResourceChangeListener | |
| private final InstanceFactory | |
| private volatile InstanceHandle | |
| private volatile Servlet | |
| private final InstanceHandle | |
| private final ServletContextImpl | |
| private final ServletInfo |
| Access | Constructor and Description |
|---|---|
| pack-priv | DefaultInstanceStrategy(final InstanceFactory<? extends Servlet> factory, final ServletInfo servletInfo, final ServletContextImpl servletContext)
|
| Modifier and Type | Method and Description |
|---|---|
| public InstanceHandle | |
| private void | |
| public synchronized void | |
| public synchronized void |
| changeListener | back to summary |
|---|---|
| private ResourceChangeListener changeListener | |
| factory | back to summary |
|---|---|
| private final InstanceFactory<? extends Servlet> factory | |
| handle | back to summary |
|---|---|
| private volatile InstanceHandle<? extends Servlet> handle | |
| instance | back to summary |
|---|---|
| private volatile Servlet instance | |
| instanceHandle | back to summary |
|---|---|
| private final InstanceHandle<Servlet> instanceHandle | |
| servletContext | back to summary |
|---|---|
| private final ServletContextImpl servletContext | |
| servletInfo | back to summary |
|---|---|
| private final ServletInfo servletInfo | |
| DefaultInstanceStrategy | back to summary |
|---|---|
| pack-priv DefaultInstanceStrategy(final InstanceFactory<? extends Servlet> factory, final ServletInfo servletInfo, final ServletContextImpl servletContext) | |
| getServlet | back to summary |
|---|---|
| public InstanceHandle Implements io. | |
| invokeDestroy | back to summary |
|---|---|
| private void invokeDestroy() | |
| start | back to summary |
|---|---|
| public synchronized void start() throws ServletException Implements io. | |
| stop | back to summary |
|---|---|
| public synchronized void stop() Implements io. | |
| Modifier and Type | Method and Description |
|---|---|
| public InstanceHandle | |
| public void | |
| public void |
| getServlet | back to summary |
|---|---|
| public InstanceHandle | |
| start | back to summary |
|---|---|
| public void start() throws ServletException | |
| stop | back to summary |
|---|---|
| public void stop() | |