| Package | Description |
|---|---|
| org.spincast.core.routing | |
| org.spincast.core.routing.hotlinking | |
| org.spincast.plugins.routing |
| Modifier and Type | Method and Description |
|---|---|
HotlinkingManager |
StaticResource.getHotlinkingManager()
If a static resource is hotlinking protected
(
StaticResource.isHotlinkingProtected()), then this is the
component responsible to that protection. |
| Modifier and Type | Method and Description |
|---|---|
StaticResource<R> |
StaticResourceFactory.create(boolean isSpicastOrPluginAddedResource,
StaticResourceType staticResourceType,
String url,
String path,
Handler<R> generator,
StaticResourceCorsConfig corsConfig,
StaticResourceCacheConfig cacheConfig,
boolean ignoreQueryString,
boolean hotlinkingProtected,
HotlinkingManager hotlinkingManager) |
StaticResourceBuilder<R> |
StaticResourceBuilder.hotlinkingProtected(HotlinkingManager hotlinkingManager)
When a static resource is flagged as being
*hotlinking protected*, the server will
validate the
origin and referer
of the request. |
| Modifier and Type | Class and Description |
|---|---|
class |
HotlinkingManagerDefault
Default
HotlinkingManager. |
| Modifier and Type | Method and Description |
|---|---|
HotlinkingManager |
StaticResourceDefault.getHotlinkingManager() |
HotlinkingManager |
StaticResourceBuilderDefault.getHotlinkingManager() |
| Modifier and Type | Method and Description |
|---|---|
StaticResourceBuilder<R> |
StaticResourceBuilderDefault.hotlinkingProtected(HotlinkingManager hotlinkingManager) |
| Constructor and Description |
|---|
StaticResourceDefault(boolean isSpicastOrPluginAddedResource,
StaticResourceType staticResourceType,
String urlPath,
String resourcePath,
Handler<R> generator,
StaticResourceCorsConfig corsConfig,
StaticResourceCacheConfig cacheConfig,
boolean ignoreQueryString,
boolean hotlinkingProtected,
HotlinkingManager hotlinkingManager,
SpincastUtils spincastUtils,
HotlinkingManagerDefault hotlinkingManagerDefault) |
Copyright © 2019. All rights reserved.