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

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

There is a newer version: 2.2.0
Show newest version






RedirectRuleBuilder (org.spincast:spincast-framework 1.0.0 API)












org.spincast.core.routing

Interface RedirectRuleBuilder

  • All Known Implementing Classes:
    RedirectRuleBuilderDefault


    public interface RedirectRuleBuilder
    Builder to create a redirection rule.
    • Method Detail

      • permanently

        RedirectRuleBuilder permanently()
        The redirection will be permanent (301). This is the default.
      • to

        void to(String newPathOrFullUrl)
        The new path or full URL to redirect to. This ends the creation of the redirection rule and save it to the router.

Copyright © 2019. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy