|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.efaps.maven_efaps_jetty.configuration.ServerDefinition
public class ServerDefinition
| Constructor Summary | |
|---|---|
ServerDefinition()
|
|
| Method Summary | |
|---|---|
void |
addFilter(FilterDefinition _filter)
Adds a new filter definition to the list of filter definition. |
void |
addServlet(ServletDefinition _servlet)
Adds a new servlet definition to the list of servlet definitions. |
static ServerDefinition |
read(String _url)
Initializes a new instanc of the server definition a a XML file. |
void |
updateServer(org.eclipse.jetty.servlet.ServletContextHandler _handler)
Updates the context handler (defining the server) by appending servlets and filters. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServerDefinition()
| Method Detail |
|---|
public static ServerDefinition read(String _url)
_url - path to the XML file within the server definition
public void updateServer(org.eclipse.jetty.servlet.ServletContextHandler _handler)
_handler - context handler used to add filters / servletsFilterDefinition#updateServer(Context),
ServletDefinition#updateServer(Context)public void addFilter(FilterDefinition _filter)
_filter - filter to add to the list of filtersfilterspublic void addServlet(ServletDefinition _servlet)
_servlet - servlet to add to the list of servletsservlets
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||