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
-
Field Summary
Fields inherited from interface org.jboss.msc.service.Service
NULL -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFilter(UndertowFilter filterRef) protected static io.undertow.server.HttpHandlerconfigureHandlerChain(io.undertow.server.HttpHandler rootHandler, List<UndertowFilter> filters) getValue()voidremoveFilter(UndertowFilter filterRef) voidstart(org.jboss.msc.service.StartContext context) voidstop(org.jboss.msc.service.StopContext context)
-
Method Details
-
start
public void start(org.jboss.msc.service.StartContext context) - Specified by:
startin interfaceorg.jboss.msc.Service
-
stop
public void stop(org.jboss.msc.service.StopContext context) - Specified by:
stopin interfaceorg.jboss.msc.Service
-
getValue
- 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
- Specified by:
addFilterin interfaceFilterLocation
-
removeFilter
- Specified by:
removeFilterin interfaceFilterLocation
-