Package restx

Examples of restx.ResourcesRoute


        return new AdminPage("/@/ui/stats/", "Stats");
    }

    @Provides @Named("StatsUIRoute")
    public ResourcesRoute getStatsResourcesRoute() {
        return new ResourcesRoute("StatsUIRoute", "/@/ui/stats", "restx/stats/ui", ImmutableMap.of("", "index.html"));
    }
View Full Code Here


        return new AdminPage("/@/ui/sources/", "Sources");
    }

    @Provides
    public ResourcesRoute sourceUI() {
        return new ResourcesRoute("SourcesUIRoute", "/@/ui/sources", "restx/sources", ImmutableMap.of("", "index.html"));
    }
View Full Code Here

        return new AdminPage("/@/ui/log/", "Logs");
    }

    @Provides @Named("LogUIRoute")
    public ResourcesRoute getLogResourcesRoute() {
        return new ResourcesRoute("LogUIRoute", "/@/ui/log", "restx/log", ImmutableMap.of("", "index.html"));
    }
View Full Code Here

TOP

Related Classes of restx.ResourcesRoute

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.