Class FilterRef
- java.lang.Object
-
- org.wildfly.extension.undertow.filters.FilterRef
-
- All Implemented Interfaces:
io.undertow.server.HandlerWrapper,org.jboss.msc.Service,org.jboss.msc.service.Service<FilterRef>,org.jboss.msc.value.Value<FilterRef>,UndertowFilter
public class FilterRef extends Object implements org.jboss.msc.service.Service<FilterRef>, UndertowFilter
- Author:
- Tomaz Cerar (c) 2014 Red Hat Inc., Richard Opalka
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.undertow.server.HttpHandlercreateHttpHandler(io.undertow.server.HttpHandler next)io.undertow.predicate.PredicategetPredicate()intgetPriority()FilterRefgetValue()voidstart(org.jboss.msc.service.StartContext context)voidstop(org.jboss.msc.service.StopContext context)io.undertow.server.HttpHandlerwrap(io.undertow.server.HttpHandler handler)
-
-
-
Method Detail
-
start
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException- Specified by:
startin interfaceorg.jboss.msc.Service- Specified by:
startin interfaceorg.jboss.msc.service.Service<FilterRef>- Throws:
org.jboss.msc.service.StartException
-
stop
public void stop(org.jboss.msc.service.StopContext context)
- Specified by:
stopin interfaceorg.jboss.msc.Service- Specified by:
stopin interfaceorg.jboss.msc.service.Service<FilterRef>
-
createHttpHandler
public io.undertow.server.HttpHandler createHttpHandler(io.undertow.server.HttpHandler next)
-
getPredicate
public io.undertow.predicate.Predicate getPredicate()
-
getPriority
public int getPriority()
- Specified by:
getPriorityin interfaceUndertowFilter
-
getValue
public FilterRef getValue() throws IllegalStateException
- Specified by:
getValuein interfaceorg.jboss.msc.value.Value<FilterRef>- Throws:
IllegalStateException
-
wrap
public io.undertow.server.HttpHandler wrap(io.undertow.server.HttpHandler handler)
- Specified by:
wrapin interfaceio.undertow.server.HandlerWrapper
-
-