Modifier and Type | Method and Description |
---|---|
abstract void |
AbstractAccessLog.log(HttpServletRequest request,
HttpServletResponse response,
ServletContext application)
Logs a request using the current format.
|
abstract void |
AbstractErrorLog.log(java.lang.String message,
HttpServletRequest request,
HttpServletResponse response,
ServletContext application)
Logs an error.
|
void |
ErrorLog.log(java.lang.String message,
HttpServletRequest request,
HttpServletResponse response,
ServletContext application)
Logs an error.
|
abstract void |
AbstractErrorLog.log(java.lang.String message,
java.lang.Throwable exception,
HttpServletRequest request,
HttpServletResponse response,
ServletContext application)
Logs an error.
|
void |
ErrorLog.log(java.lang.String message,
java.lang.Throwable e,
HttpServletRequest request,
HttpServletResponse response,
ServletContext application)
Logs a message to the error log.
|
Modifier and Type | Field and Description |
---|---|
protected ServletContext |
Mojarra12InjectionProvider._context |
Constructor and Description |
---|
Mojarra12InjectionProvider(ServletContext context) |
Modifier and Type | Method and Description |
---|---|
ServletContext |
PageContextImpl.PageELContext.getApplication() |
ServletContext |
PageContextImpl.getServletContext()
Returns the page's servlet context.
|
ServletContext |
Page.getServletContext() |
ServletContext |
PageContextWrapper.getServletContext()
Returns the page's servlet context.
|
ServletContext |
QServlet.getServletContext()
Override the Servlet method to return the generated application.
|
Modifier and Type | Method and Description |
---|---|
JspApplicationContext |
QJspFactory.getJspApplicationContext(ServletContext context) |
Modifier and Type | Method and Description |
---|---|
abstract ServletContext |
ServletELContext.getApplication() |
Modifier and Type | Field and Description |
---|---|
protected ServletContext |
QuercusServletImpl._servletContext |
Constructor and Description |
---|
QuercusServletContextImpl(ServletContext ctx) |
Modifier and Type | Method and Description |
---|---|
java.security.Principal |
ClientCertLogin.authenticate(HttpServletRequest request,
HttpServletResponse response,
ServletContext application)
Logs a user in with a user name and a password.
|
protected long |
DigestLogin.getRandomLong(ServletContext application) |
java.security.Principal |
ClientCertLogin.getUserPrincipal(HttpServletRequest request,
HttpServletResponse response,
ServletContext application)
Returns the current user with the user name and password.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ManagementService.isAuthorized(HttpServletRequest request,
HttpServletResponse response,
ServletContext application) |
Modifier and Type | Method and Description |
---|---|
ServletContext |
FilterMapper.getServletContext()
Gets the servlet context.
|
ServletContext |
PrecompilePageFilterChain.getServletContext()
Gets the servlet context.
|
ServletContext |
FilterConfigImpl.getServletContext()
Returns the servlet context.
|
ServletContext |
ServletConfigImpl.getServletContext()
Returns the servlet context.
|
ServletContext |
PageFilterChain.getServletContext()
Gets the servlet context.
|
Modifier and Type | Method and Description |
---|---|
void |
FilterMapper.setServletContext(ServletContext servletContext)
Sets the servlet context.
|
void |
PrecompilePageFilterChain.setServletContext(ServletContext servletContext)
Sets the servlet context.
|
void |
FilterConfigImpl.setServletContext(ServletContext app)
Sets the servlet context.
|
void |
ServletConfigImpl.setServletContext(ServletContext app)
Sets the servlet context.
|
void |
PageFilterChain.setServletContext(ServletContext servletContext)
Sets the servlet context.
|
Modifier and Type | Method and Description |
---|---|
ServletContext |
AsyncRequest.getServletContext() |
ServletContext |
RequestWrapper.getServletContext()
Returns the servlet context for the request
|
ServletContext |
HttpServletRequestImpl.getServletContext()
Returns the servlet context for the request
|
ServletContext |
StubServletRequest.getServletContext() |
ServletContext |
CauchoRequestWrapper.getServletContext() |
ServletContext |
CauchoDispatchRequest.getServletContext() |
Modifier and Type | Method and Description |
---|---|
void |
ConnectionCometController.dispatch(ServletContext context,
java.lang.String path) |
void |
AsyncContextImpl.dispatch(ServletContext context,
java.lang.String path) |
Modifier and Type | Method and Description |
---|---|
void |
AccessLog.log(HttpServletRequest req,
HttpServletResponse res,
ServletContext application)
Logs a request using the current format.
|
abstract void |
AbstractAccessLog.log(HttpServletRequest request,
HttpServletResponse response,
ServletContext application)
Logs a request using the current format.
|
Modifier and Type | Method and Description |
---|---|
protected java.security.Principal |
AbstractLogin.authenticate(HttpServletRequest request,
HttpServletResponse response,
ServletContext app)
Deprecated.
|
java.security.Principal |
ServletAuthenticator.getUserPrincipal(HttpServletRequest request,
HttpServletResponse response,
ServletContext application)
Gets the authenticated user for the current request.
|
protected java.security.Principal |
AbstractAuthenticator.getUserPrincipal(HttpServletRequest request,
HttpServletResponse response,
ServletContext app)
Backward compatiblity call
|
protected java.security.Principal |
AbstractLogin.getUserPrincipal(HttpServletRequest request,
HttpServletResponse response,
ServletContext app)
Deprecated.
|
java.security.Principal |
AuthenticatorList.getUserPrincipal(HttpServletRequest request,
HttpServletResponse response,
ServletContext application) |
AuthorizationResult |
PermitEmptyRolesConstraint.isAuthorized(HttpServletRequest request,
HttpServletResponse response,
ServletContext application) |
AuthorizationResult |
IPConstraint.isAuthorized(HttpServletRequest request,
HttpServletResponse response,
ServletContext application)
Returns true if the user is authorized for the resource.
|
AuthorizationResult |
TransportConstraint.isAuthorized(HttpServletRequest request,
HttpServletResponse response,
ServletContext application)
Returns true if the user is authorized for the resource.
|
abstract AuthorizationResult |
AbstractConstraint.isAuthorized(HttpServletRequest request,
HttpServletResponse response,
ServletContext application)
Returns true if the user is authorized for the resource.
|
AuthorizationResult |
RoleConstraint.isAuthorized(HttpServletRequest request,
HttpServletResponse response,
ServletContext application)
Returns true if the user is authorized for the resource.
|
AuthorizationResult |
ContainerConstraint.isAuthorized(HttpServletRequest request,
HttpServletResponse response,
ServletContext application)
Returns true if the user is authorized for the resource.
|
boolean |
ServletAuthenticator.isUserInRole(HttpServletRequest request,
HttpServletResponse response,
ServletContext application,
java.security.Principal user,
java.lang.String role)
Returns true if the user plays the named role.
|
boolean |
AbstractAuthenticator.isUserInRole(HttpServletRequest request,
HttpServletResponse response,
ServletContext application,
java.security.Principal user,
java.lang.String role) |
protected boolean |
AbstractLogin.isUserInRole(HttpServletRequest request,
HttpServletResponse response,
ServletContext app,
java.security.Principal user,
java.lang.String role)
Deprecated.
|
boolean |
AuthenticatorList.isUserInRole(HttpServletRequest request,
HttpServletResponse response,
ServletContext application,
java.security.Principal user,
java.lang.String role) |
protected java.security.Principal |
AbstractAuthenticator.login(HttpServletRequest request,
HttpServletResponse response,
ServletContext app)
Backward compatiblity call
|
java.security.Principal |
ServletAuthenticator.login(HttpServletRequest request,
HttpServletResponse response,
ServletContext application,
java.lang.String user,
java.lang.String password)
Logs a user in with a user name and a password.
|
protected java.security.Principal |
AbstractAuthenticator.login(HttpServletRequest request,
HttpServletResponse response,
ServletContext app,
java.lang.String userName,
java.lang.String password)
Backward compatiblity call
|
java.security.Principal |
AuthenticatorList.login(HttpServletRequest request,
HttpServletResponse response,
ServletContext application,
java.lang.String user,
java.lang.String password) |
java.security.Principal |
ServletAuthenticator.loginDigest(HttpServletRequest request,
HttpServletResponse response,
ServletContext app,
java.lang.String user,
java.lang.String realm,
java.lang.String nonce,
java.lang.String uri,
java.lang.String qop,
java.lang.String nc,
java.lang.String cnonce,
byte[] clientDigset)
Validates the user when using HTTP Digest authentication.
|
java.security.Principal |
AuthenticatorList.loginDigest(HttpServletRequest request,
HttpServletResponse response,
ServletContext app,
java.lang.String user,
java.lang.String realm,
java.lang.String nonce,
java.lang.String uri,
java.lang.String qop,
java.lang.String nc,
java.lang.String cnonce,
byte[] clientDigset) |
protected java.security.Principal |
AbstractAuthenticator.loginImpl(HttpServletRequest request,
HttpServletResponse response,
ServletContext app,
java.lang.String userName,
java.lang.String password)
Backward compatiblity call
|
void |
ServletAuthenticator.logout(ServletContext application,
HttpSession session,
java.lang.String sessionId,
java.security.Principal user)
Logs the user out from the given request.
|
void |
AuthenticatorList.logout(ServletContext application,
HttpSession timeoutSession,
java.lang.String sessionId,
java.security.Principal user) |
void |
SecurityFilterChain.setWebApp(ServletContext app) |
Modifier and Type | Method and Description |
---|---|
ServletContext |
SessionImpl.getServletContext()
Returns the servlet context.
|
Modifier and Type | Class and Description |
---|---|
class |
ServletContextImpl
Bare-bones servlet context implementation.
|
class |
UnknownWebApp
Resin's webApp implementation.
|
class |
WebApp
Resin's webApp implementation.
|
Modifier and Type | Method and Description |
---|---|
ServletContext |
ServletContextImpl.getContext(java.lang.String uri)
Returns the servlet context for the name.
|
ServletContext |
WebApp.getContext(java.lang.String uri)
Returns the servlet context for the URI.
|
ServletContext |
ForwardNamedRequest.getServletContext() |
ServletContext |
IncludeRequest.getServletContext() |
ServletContext |
AsyncRequest.getServletContext() |
ServletContext |
ForwardRequest.getServletContext() |
Modifier and Type | Method and Description |
---|---|
ServletContext |
GenericService.getServletContext()
Returns the servlet context.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ApplicationPath.canRead(java.lang.String path,
HttpServletRequest request,
ServletContext app)
Returns true if the file can be read.
|
abstract boolean |
AbstractPath.canRead(java.lang.String path,
HttpServletRequest request,
ServletContext app)
Returns true if the file can be read.
|
boolean |
ApplicationPath.exists(java.lang.String path,
HttpServletRequest request,
ServletContext app)
Returns true if the file exists.
|
abstract boolean |
AbstractPath.exists(java.lang.String path,
HttpServletRequest request,
ServletContext app)
Returns true if the file exists.
|
java.lang.String |
ApplicationPath.getAttribute(AttributeName name,
java.lang.String path,
HttpServletRequest request,
ServletContext app)
Returns an attribute value.
|
java.lang.String |
AbstractPath.getAttribute(AttributeName name,
java.lang.String path,
HttpServletRequest request,
ServletContext app)
Returns an attribute value.
|
java.lang.String |
XmlApplicationPath.getAttribute(AttributeName name,
java.lang.String path,
HttpServletRequest request,
ServletContext app)
Returns an attribute value.
|
java.util.Iterator |
ApplicationPath.getAttributeNames(java.lang.String path,
HttpServletRequest request,
ServletContext app)
Returns an iterator over the attribute names.
|
java.util.Iterator |
AbstractPath.getAttributeNames(java.lang.String path,
HttpServletRequest request,
ServletContext app)
Returns an iterator over the attribute names.
|
java.util.Iterator |
XmlApplicationPath.getAttributeNames(java.lang.String path,
HttpServletRequest request,
ServletContext app)
Returns an iterator over the attribute names.
|
long |
ApplicationPath.getLastModified(java.lang.String path,
HttpServletRequest request,
ServletContext app)
Returns the last modified time of the named file.
|
abstract long |
AbstractPath.getLastModified(java.lang.String path,
HttpServletRequest request,
ServletContext app)
Returns the last modified time of the named file.
|
long |
ApplicationPath.getLength(java.lang.String path,
HttpServletRequest request,
ServletContext app)
Returns the length of the named file.
|
abstract long |
AbstractPath.getLength(java.lang.String path,
HttpServletRequest request,
ServletContext app)
Returns the length of the named file.
|
protected Path |
ApplicationPath.getPath(java.lang.String path,
HttpServletRequest request,
ServletContext app)
Returns the underlying path.
|
protected Path |
XmlApplicationPath.getPath(java.lang.String path,
HttpServletRequest request,
ServletContext app)
Returns the underlying path.
|
protected Path |
FilePath.getPath(java.lang.String path,
HttpServletRequest request,
ServletContext app)
Returns the underlying path.
|
boolean |
ApplicationPath.isDirectory(java.lang.String path,
HttpServletRequest request,
ServletContext app)
Returns true if the named file is a directory.
|
abstract boolean |
AbstractPath.isDirectory(java.lang.String path,
HttpServletRequest request,
ServletContext app)
Returns true if the named file is a directory.
|
boolean |
ApplicationPath.isFile(java.lang.String path,
HttpServletRequest request,
ServletContext app)
Returns true if the named file is a file.
|
abstract boolean |
AbstractPath.isFile(java.lang.String path,
HttpServletRequest request,
ServletContext app)
Returns true if the named file is a file.
|
java.lang.String[] |
ApplicationPath.list(java.lang.String path,
HttpServletRequest request,
ServletContext app)
Returns a list of the files in the directory.
|
abstract java.lang.String[] |
AbstractPath.list(java.lang.String path,
HttpServletRequest request,
ServletContext app)
Returns a list of the files in the directory.
|
java.lang.String[] |
XmlApplicationPath.list(java.lang.String path,
HttpServletRequest request,
ServletContext app)
Returns a list of the files in the directory.
|
boolean |
ApplicationPath.mkdir(java.lang.String path,
HttpServletRequest request,
ServletContext app)
Creates the named directory.
|
abstract boolean |
AbstractPath.mkdir(java.lang.String path,
HttpServletRequest request,
ServletContext app)
Creates the named directory.
|
java.io.InputStream |
ApplicationPath.openRead(java.lang.String path,
HttpServletRequest request,
ServletContext app)
Opens an InputStream for reading
|
abstract java.io.InputStream |
AbstractPath.openRead(java.lang.String path,
HttpServletRequest request,
ServletContext app)
Opens an InputStream for reading
|
java.io.OutputStream |
ApplicationPath.openWrite(java.lang.String path,
HttpServletRequest request,
ServletContext app)
Opens an OutputStream for writing.
|
abstract java.io.OutputStream |
AbstractPath.openWrite(java.lang.String path,
HttpServletRequest request,
ServletContext app)
Opens an OutputStream for writing.
|
boolean |
ApplicationPath.remove(java.lang.String path,
HttpServletRequest request,
ServletContext app)
Deletes the file
|
abstract boolean |
AbstractPath.remove(java.lang.String path,
HttpServletRequest request,
ServletContext app)
Deletes the file
|
boolean |
XmlApplicationPath.remove(java.lang.String path,
HttpServletRequest request,
ServletContext app)
Deletes the file
|
boolean |
AbstractPath.removeAttribute(AttributeName name,
java.lang.String path,
HttpServletRequest request,
ServletContext app)
Removes an attribute value.
|
boolean |
XmlApplicationPath.removeAttribute(AttributeName name,
java.lang.String path,
HttpServletRequest request,
ServletContext app)
Removes an attribute value.
|
void |
ApplicationPath.removeAttribute(java.lang.String name,
java.lang.String path,
HttpServletRequest request,
ServletContext app)
Removes an attribute value.
|
boolean |
AbstractPath.rename(java.lang.String path,
java.lang.String destination,
HttpServletRequest request,
ServletContext app)
Renames the file without forcing a copy.
|
boolean |
ApplicationPath.rmdir(java.lang.String path,
HttpServletRequest request,
ServletContext app)
Removes the named directory.
|
abstract boolean |
AbstractPath.rmdir(java.lang.String path,
HttpServletRequest request,
ServletContext app)
Removes the named directory.
|
boolean |
ApplicationPath.setAttribute(AttributeName name,
java.lang.String value,
java.lang.String path,
HttpServletRequest request,
ServletContext app)
Sets an attribute value.
|
boolean |
AbstractPath.setAttribute(AttributeName name,
java.lang.String value,
java.lang.String path,
HttpServletRequest request,
ServletContext app)
Sets an attribute value.
|
boolean |
XmlApplicationPath.setAttribute(AttributeName name,
java.lang.String value,
java.lang.String path,
HttpServletRequest request,
ServletContext app)
Sets an attribute value.
|
Modifier and Type | Method and Description |
---|---|
ServletContext |
ServletContext.getContext(java.lang.String uri)
Returns the ServletContext for the uri.
|
ServletContext |
ServletRequestWrapper.getServletContext()
Returns the servlet context for the request
|
ServletContext |
ServletRequest.getServletContext()
Returns the servlet context for the request
|
ServletContext |
ServletContextEvent.getServletContext()
Returns the ServletContext that changed.
|
ServletContext |
ServletConfig.getServletContext()
Returns the ServletContext for the servlet or filter.
|
ServletContext |
FilterConfig.getServletContext()
Returns the ServletContext for the servlet or filter.
|
ServletContext |
ServletRequestEvent.getServletContext()
Returns the ServletContext that changed.
|
ServletContext |
GenericServlet.getServletContext()
Returns the application (servlet context) that the servlet
belongs to.
|
Modifier and Type | Method and Description |
---|---|
void |
AsyncContext.dispatch(ServletContext context,
java.lang.String path) |
void |
ServletContainerInitializer.onStartup(java.util.Set<java.lang.Class<?>> c,
ServletContext ctx) |
Constructor and Description |
---|
ServletContextAttributeEvent(ServletContext application,
java.lang.String name,
java.lang.Object value)
Creates a ServletContextAttributeEvent for the changed application.
|
ServletContextEvent(ServletContext application)
Creates a ServletContextEvent from the changed application.
|
ServletRequestAttributeEvent(ServletContext application,
ServletRequest request,
java.lang.String name,
java.lang.Object value)
Creates a ServletContextAttributeEvent for the changed application.
|
ServletRequestEvent(ServletContext application,
ServletRequest request)
Creates a ServletRequestEvent from the changed application.
|
Modifier and Type | Method and Description |
---|---|
ServletContext |
HttpSession.getServletContext()
Returns the owning servlet context.
|
Modifier and Type | Method and Description |
---|---|
abstract ServletContext |
PageContext.getServletContext()
Returns the servletContext (application object) for the request.
|
Modifier and Type | Method and Description |
---|---|
abstract JspApplicationContext |
JspFactory.getJspApplicationContext(ServletContext context) |
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
Config.get(ServletContext context,
java.lang.String name) |
static void |
Config.remove(ServletContext context,
java.lang.String name) |
static void |
Config.set(ServletContext context,
java.lang.String name,
java.lang.Object var) |