Class SchemeDirectives

    • Constructor Detail

      • SchemeDirectives

        public SchemeDirectives()
    • Method Detail

      • extractScheme

        public Route extractScheme​(java.util.function.Function<java.lang.String,​Route> inner)
        Extracts the Uri scheme from the request.
        Parameters:
        inner - (undocumented)
        Returns:
        (undocumented)
      • scheme

        public Route scheme​(java.lang.String name,
                            java.util.function.Supplier<Route> inner)
        Rejects all requests whose Uri scheme does not match the given one.
        Parameters:
        name - (undocumented)
        inner - (undocumented)
        Returns:
        (undocumented)