public interface Asset
Modifier and Type | Interface and Description |
---|---|
static class |
Asset.FileAsset |
static class |
Asset.URLAsset |
Modifier and Type | Method and Description |
---|---|
InputStream |
content() |
static Asset |
create(Path resource) |
static Asset |
create(String path,
URL resource) |
default String |
etag() |
long |
lastModified() |
long |
length() |
void |
release() |
MediaType |
type() |
long length()
-1
if undefined.long lastModified()
default String etag()
InputStream content()
void release()
Copyright © 2019. All rights reserved.