Modifier and Type | Class | Description |
---|---|---|
protected class |
FilterHolder.Registration |
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener
Holder.HolderConfig, Holder.HolderRegistration
FAILED, RUNNING, STARTED, STARTING, STOP_ON_FAILURE, STOPPED, STOPPING
_class, _className, _extInstance, _servletHandler, _source
_asyncSupported, _displayName, _initialized, _initParams, _name
Constructor | Description |
---|---|
FilterHolder() |
Constructor
|
FilterHolder(java.lang.Class<? extends Filter> filter) |
Constructor
|
FilterHolder(Filter filter) |
Constructor for existing filter.
|
FilterHolder(Source source) |
Constructor
|
Modifier and Type | Method | Description |
---|---|---|
void |
destroyInstance(java.lang.Object o) |
|
void |
doStart() |
|
void |
doStop() |
|
void |
dump(java.lang.Appendable out,
java.lang.String indent) |
|
Filter |
getFilter() |
|
FilterRegistration.Dynamic |
getRegistration() |
|
void |
initialize() |
Do any setup necessary after starting
|
void |
setFilter(Filter filter) |
|
java.lang.String |
toString() |
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stop
getClassName, getHeldClass, getServletHandler, getSource, illegalStateIfContextStarted, isInstance, setServletHandler
dump, getDisplayName, getInitParameter, getInitParameterNames, getInitParameters, getName, isAsyncSupported, setAsyncSupported, setClassName, setDisplayName, setHeldClass, setInitParameter, setInitParameters, setName
public FilterHolder()
public FilterHolder(Source source)
source
- the holder sourcepublic FilterHolder(java.lang.Class<? extends Filter> filter)
filter
- the filter classpublic FilterHolder(Filter filter)
filter
- the filterpublic void doStart() throws java.lang.Exception
doStart
in class BaseHolder<Filter>
java.lang.Exception
public void initialize() throws java.lang.Exception
BaseHolder
initialize
in class BaseHolder<Filter>
java.lang.Exception
- if unable to initializepublic void doStop() throws java.lang.Exception
doStop
in class BaseHolder<Filter>
java.lang.Exception
public void destroyInstance(java.lang.Object o) throws java.lang.Exception
destroyInstance
in class Holder<Filter>
java.lang.Exception
public void setFilter(Filter filter)
public Filter getFilter()
public void dump(java.lang.Appendable out, java.lang.String indent) throws java.io.IOException
public FilterRegistration.Dynamic getRegistration()
Copyright © 1995–2018 Webtide. All rights reserved.