AbstractLifeCycle.AbstractLifeCycleListenerLifeCycle.Listener| Constructor and Description |
|---|
FilterHolder()
Constructor
|
FilterHolder(Class<? extends Filter> filter)
Constructor
|
FilterHolder(Filter filter)
Constructor for existing filter.
|
FilterHolder(Source source)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
destroyInstance(Object o) |
void |
doStart() |
void |
doStop() |
void |
dump(Appendable out,
String indent)
Dump this object (and children) into an Appendable using the provided indent after any new lines.
|
Filter |
getFilter() |
FilterRegistration.Dynamic |
getRegistration() |
void |
initialize()
Do any setup necessary after starting
|
void |
setFilter(Filter filter) |
String |
toString() |
dump, getDisplayName, getInitParameter, getInitParameterNames, getInitParameters, getName, isAsyncSupported, setAsyncSupported, setClassName, setDisplayName, setHeldClass, setInitParameter, setInitParameters, setNamegetClassName, getHeldClass, getServletHandler, getSource, isInstance, setServletHandleraddLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stopequals, getClass, hashCode, notify, notifyAll, wait, wait, waitdump, dumpContainer, dumpIterable, dumpMapEntries, dumpObject, dumpObjects, dumpSelf, namedpublic FilterHolder()
public FilterHolder(Source source)
source - the holder sourcepublic FilterHolder(Class<? extends Filter> filter)
filter - the filter classpublic FilterHolder(Filter filter)
filter - the filterpublic void doStart()
throws Exception
doStart in class BaseHolder<Filter>Exceptionpublic void initialize()
throws Exception
BaseHolderinitialize in class BaseHolder<Filter>Exception - if unable to initializepublic void doStop()
throws Exception
doStop in class BaseHolder<Filter>Exceptionpublic void destroyInstance(Object o) throws Exception
destroyInstance in class Holder<Filter>Exceptionpublic void setFilter(Filter filter)
public Filter getFilter()
public void dump(Appendable out, String indent) throws IOException
Dumpabledump in interface Dumpabledump in class BaseHolder<Filter>out - The appendable to dump toindent - The indent to apply after any new lines.IOException - if unable to write to Appendablepublic FilterRegistration.Dynamic getRegistration()
Copyright © 2010 - 2020 Adobe. All Rights Reserved