public class DeploymentUploadURLHandler extends AbstractDeploymentUploadHandler implements DescriptionProvider
Modifier and Type | Field and Description |
---|---|
static String |
OPERATION_NAME |
Constructor and Description |
---|
DeploymentUploadURLHandler(ContentRepository repository) |
Modifier and Type | Method and Description |
---|---|
protected InputStream |
getContentInputStream(OperationContext operationContext,
org.jboss.dmr.ModelNode operation) |
org.jboss.dmr.ModelNode |
getModelDescription(Locale locale)
Gets the descriptive information (human-friendly description, list of attributes,
list of children) describing a single model node or operation.
|
execute
public static final String OPERATION_NAME
public DeploymentUploadURLHandler(ContentRepository repository)
public org.jboss.dmr.ModelNode getModelDescription(Locale locale)
DescriptionProvider
The implementation must assume that the caller intends to modify the
returned ModelNode
so it should not hand out a reference to any internal data structures.
getModelDescription
in interface DescriptionProvider
locale
- the locale to use to generate any localized text used in the description.
May be null
, in which case Locale.getDefault()
should be usedModelNode
describing the model node's structureprotected InputStream getContentInputStream(OperationContext operationContext, org.jboss.dmr.ModelNode operation) throws OperationFailedException
getContentInputStream
in class AbstractDeploymentUploadHandler
OperationFailedException
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.