Interface SchemeDirectives
-
- All Known Subinterfaces:
Directives
- All Known Implementing Classes:
Directives$
,HttpApp
,SchemeDirectives$
public interface SchemeDirectives
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Directive<scala.Tuple1<java.lang.String>>
extractScheme()
Extracts the Uri scheme from the request.Directive<scala.runtime.BoxedUnit>
scheme(java.lang.String name)
Rejects all requests whose Uri scheme does not match the given one.
-
-
-
Method Detail
-
extractScheme
Directive<scala.Tuple1<java.lang.String>> extractScheme()
Extracts the Uri scheme from the request.- Returns:
- (undocumented)
-
scheme
Directive<scala.runtime.BoxedUnit> scheme(java.lang.String name)
Rejects all requests whose Uri scheme does not match the given one.- Parameters:
name
- (undocumented)- Returns:
- (undocumented)
-
-