public abstract class AbstractAvaticaHandler extends org.eclipse.jetty.server.handler.AbstractHandler implements MetricsAwareAvaticaHandler
org.eclipse.jetty.server.handler.AbstractHandler.ErrorDispatchHandler
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener
FAILED, RUNNING, STARTED, STARTING, STOP_ON_FAILURE, STOPPED, STOPPING
HANDLER_PREFIX, REQUEST_TIMER_NAME
Constructor and Description |
---|
AbstractAvaticaHandler() |
Modifier and Type | Method and Description |
---|---|
boolean |
isUserPermitted(AvaticaServerConfiguration serverConfig,
org.eclipse.jetty.server.Request baseRequest,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Determines if a request is permitted to be executed.
|
destroy, doError, doStart, doStop, dumpThis, getServer, handle, setServer
addBean, addBean, addBean, addEventListener, addManaged, contains, dump, dump, dump, dump, dump, dumpBeans, dumpObject, dumpStdErr, getBean, getBeans, getBeans, getContainedBeans, getContainedBeans, isManaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBean, updateBeans
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMetrics
setServerRpcMetadata
public boolean isUserPermitted(AvaticaServerConfiguration serverConfig, org.eclipse.jetty.server.Request baseRequest, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException
response
and the caller should return immediately.serverConfig
- The server's configurationrequest
- The user's requestresponse
- The response to the user's requestIOException
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.