public interface HTTPModule
| Modifier and Type | Interface and Description |
|---|---|
static class |
HTTPModule.Abstract
Abstract HTTP module.
|
static class |
HTTPModule.Context
Context.
|
| Modifier and Type | Method and Description |
|---|---|
void |
doEventActions(Event event)
Does event actions.
|
void |
doPendingActions()
Does pending actions.
|
void |
doSignalActions(Signal signal)
Does signal actions.
|
String |
getDefaultPath()
Gets the default path for this module.
|
boolean |
needsMetadata()
Asks if this module needs metadata.
|
void |
prepareServletContext(ServletContext servletContext)
Prepares the servlet context.
|
boolean |
setUp(HTTPServerAppImpl httpApp,
Map<String,String> servlets,
KeyedGroups contextProperties)
Sets up this server module.
|
void |
tearDown()
Tears down what has been set up.
|
void doEventActions(@Nonnull
Event event)
event - The event.void doPendingActions()
void doSignalActions(@Nonnull
Signal signal)
signal - The signal.@Nonnull @CheckReturnValue String getDefaultPath()
@CheckReturnValue boolean needsMetadata()
void prepareServletContext(@Nonnull
ServletContext servletContext)
servletContext - The servlet context.@CheckReturnValue
boolean setUp(@Nonnull
HTTPServerAppImpl httpApp,
@Nonnull
Map<String,String> servlets,
@Nonnull
KeyedGroups contextProperties)
httpApp - The HTTP application.servlets - The servlets map.contextProperties - The context properties.void tearDown()
Copyright © 2003-2019 Serge Brisson. All Rights Reserved.