Interface SchemeDirectives

All Known Subinterfaces:
Directives
All Known Implementing Classes:
Directives$, HttpApp, SchemeDirectives$

public interface SchemeDirectives
  • Method Summary

    Modifier and Type
    Method
    Description
    Directive<scala.Tuple1<String>>
    Extracts the Uri scheme from the request.
    Directive<scala.runtime.BoxedUnit>
    scheme(String name)
    Rejects all requests whose Uri scheme does not match the given one.
  • Method Details

    • extractScheme

      Directive<scala.Tuple1<String>> extractScheme()
      Extracts the Uri scheme from the request.

      Returns:
      (undocumented)
    • scheme

      Directive<scala.runtime.BoxedUnit> scheme(String name)
      Rejects all requests whose Uri scheme does not match the given one.

      Parameters:
      name - (undocumented)
      Returns:
      (undocumented)