public interface XContentCapability extends XCapability
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_DIGEST |
static String |
DEFAULT_MIME_TYPE |
static Long |
DEFAULT_SIZE |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentURL()
The URL to the bytes.
|
String |
getDigest()
The SHA-256 hex encoded digest for this resource
|
String |
getMimeType()
An IANA defined MIME type for the format of this content
|
Long |
getSize()
The size of the resource in bytes as it will be read from the URL
|
adapt, getResource, validategetAttachment, putAttachment, removeAttachmentgetAttribute, getAttributesgetDirective, getDirectivesstatic final String DEFAULT_DIGEST
static final String DEFAULT_MIME_TYPE
static final Long DEFAULT_SIZE
String getMimeType()
String getDigest()
String getContentURL()
Long getSize()
Copyright © 2016 JBoss by Red Hat. All rights reserved.