Package org.wildfly.extension.undertow
Class LocationService
- java.lang.Object
-
- org.wildfly.extension.undertow.LocationService
-
- All Implemented Interfaces:
org.jboss.msc.Service,org.jboss.msc.service.Service<LocationService>,org.jboss.msc.value.Value<LocationService>,FilterLocation
public final class LocationService extends Object implements org.jboss.msc.service.Service<LocationService>, FilterLocation
- Author:
- Tomaz Cerar (c) 2013 Red Hat Inc., Richard Opalka
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddFilter(UndertowFilter filterRef)protected static io.undertow.server.HttpHandlerconfigureHandlerChain(io.undertow.server.HttpHandler rootHandler, List<UndertowFilter> filters)LocationServicegetValue()voidremoveFilter(UndertowFilter filterRef)voidstart(org.jboss.msc.service.StartContext context)voidstop(org.jboss.msc.service.StopContext context)
-
-
-
Method Detail
-
start
public void start(org.jboss.msc.service.StartContext context)
- Specified by:
startin interfaceorg.jboss.msc.Service- Specified by:
startin interfaceorg.jboss.msc.service.Service<LocationService>
-
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<LocationService>
-
getValue
public LocationService getValue() throws IllegalStateException, IllegalArgumentException
- Specified by:
getValuein interfaceorg.jboss.msc.value.Value<LocationService>- Throws:
IllegalStateExceptionIllegalArgumentException
-
configureHandlerChain
protected static io.undertow.server.HttpHandler configureHandlerChain(io.undertow.server.HttpHandler rootHandler, List<UndertowFilter> filters)
-
addFilter
public void addFilter(UndertowFilter filterRef)
- Specified by:
addFilterin interfaceFilterLocation
-
removeFilter
public void removeFilter(UndertowFilter filterRef)
- Specified by:
removeFilterin interfaceFilterLocation
-
-