Package org.spincast.core.routing
Interface StaticResourceFactory<R extends RequestContext<?>>
public interface StaticResourceFactory<R extends RequestContext<?>>
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(boolean isSpicastOrPluginAddedResource, StaticResourceType staticResourceType, String url, String path, Handler<R> generator, StaticResourceCorsConfig corsConfig, StaticResourceCacheConfig cacheConfig, boolean ignoreQueryString, boolean hotlinkingProtected, HotlinkingManager hotlinkingManager)
-
Method Details
-
create
StaticResource<R> create(boolean isSpicastOrPluginAddedResource, StaticResourceType staticResourceType, String url, String path, Handler<R> generator, StaticResourceCorsConfig corsConfig, StaticResourceCacheConfig cacheConfig, boolean ignoreQueryString, boolean hotlinkingProtected, @Nullable HotlinkingManager hotlinkingManager)
-