public class FileHandler extends PersistentResourceDefinition
| Modifier and Type | Field and Description |
|---|---|
static AttributeDefinition |
CACHE_BUFFER_SIZE |
static AttributeDefinition |
CACHE_BUFFERS |
static AttributeDefinition |
DIRECTORY_LISTING |
static FileHandler |
INSTANCE |
static AttributeDefinition |
PATH |
| Modifier and Type | Method and Description |
|---|---|
io.undertow.server.HttpHandler |
createHandler(OperationContext context,
org.jboss.dmr.ModelNode model) |
List<AccessConstraintDefinition> |
getAccessConstraints()
Get the definition of any access constraints associated with the resource.
|
Collection<AttributeDefinition> |
getAttributes() |
void |
registerOperations(ManagementResourceRegistration resourceRegistration)
Register operations associated with this resource.
|
getChildren, registerAttributes, registerChildrengetDescriptionProvider, getFlagsSet, getPathElement, getResourceDescriptionResolver, registerAddOperation, registerAddOperation, registerRemoveOperation, registerRemoveOperationpublic static final FileHandler INSTANCE
public static final AttributeDefinition PATH
public static final AttributeDefinition CACHE_BUFFER_SIZE
public static final AttributeDefinition CACHE_BUFFERS
public static final AttributeDefinition DIRECTORY_LISTING
public Collection<AttributeDefinition> getAttributes()
getAttributes in class PersistentResourceDefinitionpublic io.undertow.server.HttpHandler createHandler(OperationContext context, org.jboss.dmr.ModelNode model) throws OperationFailedException
OperationFailedExceptionpublic void registerOperations(ManagementResourceRegistration resourceRegistration)
SimpleResourceDefinitionregisterOperations in interface ResourceDefinitionregisterOperations in class SimpleResourceDefinitionresourceRegistration - a ManagementResourceRegistration created from this definitionpublic List<AccessConstraintDefinition> getAccessConstraints()
SimpleResourceDefinitiongetAccessConstraints in interface ConstrainedResourceDefinitiongetAccessConstraints in class SimpleResourceDefinitionCopyright © 2014 JBoss by Red Hat. All rights reserved.