Class StaticFilesAPI

  • All Implemented Interfaces:
    RestController

    public class StaticFilesAPI
    extends Controller
    Class for setting the query parameters of Static Files API. All Nullable parameters means you can remove the parameter by passing a null value.
    • Constructor Detail

      • StaticFilesAPI

        public StaticFilesAPI()
    • Method Detail

      • getStaticFile

        public void getStaticFile​(StaticFilesParams staticFilesParams,
                                  boolean clearCache,
                                  Listener<java.lang.String> listener)
        Get a specific static file from the server
        Parameters:
        staticFilesParams - the StaticFilesParams for Static Files API
        clearCache - set to true to clear previously stored cache
        listener - callback to handle the results