public class BuiltinGrammarHandler
extends org.eclipse.jetty.server.handler.AbstractHandler
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CONTEXT_PATH
The context path of this handler.
|
| Constructor and Description |
|---|
BuiltinGrammarHandler()
Constructs a new object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addGrammarCreator(GrammarCreator creator)
Adds the specified grammar creator to the list of known grammar creators.
|
void |
handle(java.lang.String target,
org.eclipse.jetty.server.Request baseRequest,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
setGrammarCreators(java.util.Collection<GrammarCreator> col)
Adds the specified grammar creators to the list of known grammar
creators.
|
destroy, doStart, doStop, dumpThis, getServer, setServeraddBean, addBean, addBean, addEventListener, addManaged, contains, dump, dump, dump, dump, dump, dumpBeans, dumpObject, dumpStdErr, getBean, getBeans, getBeans, isManaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBean, updateBeansaddLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stoppublic static java.lang.String CONTEXT_PATH
public void setGrammarCreators(java.util.Collection<GrammarCreator> col)
col - the creators to addpublic void addGrammarCreator(GrammarCreator creator)
creator - the creator to addpublic void handle(java.lang.String target,
org.eclipse.jetty.server.Request baseRequest,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException,
javax.servlet.ServletException
java.io.IOExceptionjavax.servlet.ServletException