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.HttpHandler
createHttpHandler(io.undertow.server.HttpHandler next)
io.undertow.predicate.Predicate
getPredicate()
int
getPriority()
FilterRef
getValue()
void
start(org.jboss.msc.service.StartContext context)
void
stop(org.jboss.msc.service.StopContext context)
io.undertow.server.HttpHandler
wrap(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:
start
in interfaceorg.jboss.msc.Service
- Specified by:
start
in interfaceorg.jboss.msc.service.Service<FilterRef>
- Throws:
org.jboss.msc.service.StartException
-
stop
public void stop(org.jboss.msc.service.StopContext context)
- Specified by:
stop
in interfaceorg.jboss.msc.Service
- Specified by:
stop
in 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:
getPriority
in interfaceUndertowFilter
-
getValue
public FilterRef getValue() throws IllegalStateException
- Specified by:
getValue
in interfaceorg.jboss.msc.value.Value<FilterRef>
- Throws:
IllegalStateException
-
wrap
public io.undertow.server.HttpHandler wrap(io.undertow.server.HttpHandler handler)
- Specified by:
wrap
in interfaceio.undertow.server.HandlerWrapper
-
-