Package org.wildfly.extension.undertow
Class AbstractHandlerDefinition
- java.lang.Object
-
- org.jboss.as.controller.SimpleResourceDefinition
-
- org.jboss.as.controller.PersistentResourceDefinition
-
- org.wildfly.extension.undertow.AbstractHandlerDefinition
-
- All Implemented Interfaces:
org.jboss.as.controller.ResourceDefinition,Handler
- Direct Known Subclasses:
BasicAuthHandler,CustomFilterDefinition,ErrorPageDefinition,ExpressionFilterDefinition,GzipFilter,ModClusterDefinition,RequestLimitHandler,ResponseHeaderFilter,RewriteFilterDefinition
public abstract class AbstractHandlerDefinition extends org.jboss.as.controller.PersistentResourceDefinition implements Handler
- Author:
- Tomaz Cerar (c) 2013 Red Hat Inc.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classAbstractHandlerDefinition.DefaultHandlerRemove
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractHandlerDefinition(String name)protectedAbstractHandlerDefinition(String name, String prefix)protectedAbstractHandlerDefinition(String name, String prefix, org.jboss.as.controller.AbstractAddStepHandler addHandler, org.jboss.as.controller.AbstractRemoveStepHandler removeHandler)protectedAbstractHandlerDefinition(String name, org.jboss.as.controller.AbstractAddStepHandler addHandler, org.jboss.as.controller.AbstractRemoveStepHandler removeHandler)protectedAbstractHandlerDefinition(org.jboss.as.controller.PersistentResourceDefinition.Parameters parameters)Deprecated.protectedAbstractHandlerDefinition(org.jboss.as.controller.SimpleResourceDefinition.Parameters parameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<org.jboss.as.controller.access.management.AccessConstraintDefinition>getAccessConstraints()Collection<org.jboss.as.controller.AttributeDefinition>getAttributes()Class<? extends io.undertow.server.HttpHandler>getHandlerClass()voidregisterOperations(org.jboss.as.controller.registry.ManagementResourceRegistration resourceRegistration)-
Methods inherited from class org.jboss.as.controller.PersistentResourceDefinition
getChildren, registerAttributes, registerChildren
-
Methods inherited from class org.jboss.as.controller.SimpleResourceDefinition
getDeprecationData, getDescriptionProvider, getFlagsSet, getMaxOccurs, getMinOccurs, getPathElement, getResourceDescriptionResolver, isFeature, isOrderedChild, isRuntime, registerAdditionalRuntimePackages, registerAddOperation, registerAddOperation, registerCapabilities, registerNotifications, registerRemoveOperation, registerRemoveOperation, setDeprecated
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.wildfly.extension.undertow.Handler
createHttpHandler
-
-
-
-
Constructor Detail
-
AbstractHandlerDefinition
protected AbstractHandlerDefinition(String name, org.jboss.as.controller.AbstractAddStepHandler addHandler, org.jboss.as.controller.AbstractRemoveStepHandler removeHandler)
-
AbstractHandlerDefinition
protected AbstractHandlerDefinition(String name)
-
AbstractHandlerDefinition
protected AbstractHandlerDefinition(String name, String prefix, org.jboss.as.controller.AbstractAddStepHandler addHandler, org.jboss.as.controller.AbstractRemoveStepHandler removeHandler)
-
AbstractHandlerDefinition
@Deprecated protected AbstractHandlerDefinition(org.jboss.as.controller.PersistentResourceDefinition.Parameters parameters)
Deprecated.
-
AbstractHandlerDefinition
protected AbstractHandlerDefinition(org.jboss.as.controller.SimpleResourceDefinition.Parameters parameters)
-
-
Method Detail
-
registerOperations
public void registerOperations(org.jboss.as.controller.registry.ManagementResourceRegistration resourceRegistration)
- Specified by:
registerOperationsin interfaceorg.jboss.as.controller.ResourceDefinition- Overrides:
registerOperationsin classorg.jboss.as.controller.SimpleResourceDefinition
-
getHandlerClass
public Class<? extends io.undertow.server.HttpHandler> getHandlerClass()
- Specified by:
getHandlerClassin interfaceHandler
-
getAccessConstraints
public List<org.jboss.as.controller.access.management.AccessConstraintDefinition> getAccessConstraints()
- Specified by:
getAccessConstraintsin interfaceorg.jboss.as.controller.ResourceDefinition- Overrides:
getAccessConstraintsin classorg.jboss.as.controller.SimpleResourceDefinition
-
getAttributes
public Collection<org.jboss.as.controller.AttributeDefinition> getAttributes()
- Specified by:
getAttributesin interfaceHandler- Specified by:
getAttributesin classorg.jboss.as.controller.PersistentResourceDefinition
-
-