All Downloads are FREE. Search and download functionalities are using the official Maven repository.

public.javadoc.org.spincast.core.routing.StaticResourceBuilderFactory.html Maven / Gradle / Ivy

There is a newer version: 2.2.0
Show newest version






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 Detail

      • create

        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. The save() method will throw an expception if called. Only create() will be available.
      • 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.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy