public interface XContentCapability
extends org.jboss.osgi.resolver.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
|
getAttachment, putAttachment, removeAttachment
getAttribute, getAttributes
static final String DEFAULT_DIGEST
static final String DEFAULT_MIME_TYPE
static final Long DEFAULT_SIZE
String getMimeType()
String getDigest()
String getContentURL()
Long getSize()
Copyright © 2013 JBoss by Red Hat. All rights reserved.