| Modifier and Type | Method and Description |
|---|---|
ServletInfo |
ServletHandler.getServletInfo() |
| Constructor and Description |
|---|
HttpServiceServletHandler(ExtServletContext context,
ServletInfo servletInfo,
javax.servlet.Servlet servlet) |
HttpServiceServletHandler(long contextServiceId,
ExtServletContext context,
ServletInfo servletInfo,
javax.servlet.Servlet servlet) |
ServletHandler(long contextServiceId,
ExtServletContext context,
ServletInfo servletInfo) |
WhiteboardServletHandler(long contextServiceId,
ExtServletContext context,
ServletInfo servletInfo,
org.osgi.framework.BundleContext contextBundleContext,
org.osgi.framework.Bundle registeringBundle,
org.osgi.framework.Bundle httpWhiteboardBundle) |
| Modifier and Type | Method and Description |
|---|---|
static @Nullable ErrorPageRegistry.ErrorRegistration |
ErrorPageRegistry.getErrorRegistration(@NotNull ServletInfo info)
Parse the registration properties of the servlet for error handling
|
void |
ServletRegistry.removeServlet(@NotNull ServletInfo info,
boolean destroy)
Remove a servlet
|
void |
ErrorPageRegistry.removeServlet(@NotNull ServletInfo info,
boolean destroy)
Remove the servlet from error handling
|
void |
PerContextHandlerRegistry.unregisterServlet(@NotNull ServletInfo servletInfo,
boolean destroy)
Remove a servlet
|
| Modifier and Type | Method and Description |
|---|---|
ServletInfo |
ResourceInfo.getServletInfo() |
| Modifier and Type | Method and Description |
|---|---|
static org.osgi.service.http.runtime.dto.ResourceDTO |
ResourceDTOBuilder.build(ServletInfo info,
boolean failed)
Build a servlet DTO from a servlet info
|
static org.osgi.service.http.runtime.dto.ErrorPageDTO |
ErrorPageDTOBuilder.build(ServletInfo info,
boolean failed)
Build a servlet DTO from a servlet info
|
static org.osgi.service.http.runtime.dto.ServletDTO |
ServletDTOBuilder.build(ServletInfo info,
int reason)
Build a servlet DTO from a servlet info
|
| Modifier and Type | Method and Description |
|---|---|
void |
SharedHttpServiceImpl.registerServlet(@NotNull String alias,
@NotNull ExtServletContext httpContext,
@NotNull javax.servlet.Servlet servlet,
@NotNull ServletInfo servletInfo)
Register a servlet
|
Copyright © 2006–2020 The Apache Software Foundation. All rights reserved.