public interface SchemeDirectives
Modifier and Type | Method and 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.
|
Directive<scala.Tuple1<java.lang.String>> extractScheme()
Directive<scala.runtime.BoxedUnit> scheme(java.lang.String name)
name
- (undocumented)