public.javadoc.org.spincast.core.routing.StaticResourceBuilderFactory.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spincast-website Show documentation
Show all versions of spincast-website Show documentation
Source code for the https://www.spincast.org website.
StaticResourceBuilderFactory (org.spincast:spincast-framework 1.0.0 API)
org.spincast.core.routing
Interface StaticResourceBuilderFactory<R extends RequestContext<?>,W extends WebsocketContext<?>>
-
public interface StaticResourceBuilderFactory<R extends RequestContext<?>,W extends WebsocketContext<?>>
Factory to create static resources builders.
-
-
Method Summary
All Methods Instance Methods Abstract Methods
Modifier and Type
Method and Description
StaticResourceBuilder<R>
create(boolean isDir)
Creates a static resources builder by specifying
if the resource to build is a file or a directory, but without
using a router.
StaticResourceBuilder<R>
create(Router<R,W> router,
boolean isDir)
Creates a static resources builder by specifying
if the resource to build is a file or a directory.
-
-
Method Detail
-
create
StaticResourceBuilder<R> create(boolean isDir)
-
create
StaticResourceBuilder<R> create(Router<R,W> router,
boolean isDir)
Creates a static resources builder by specifying
if the resource to build is a file or a directory.
Copyright © 2019. All rights reserved.