object RoutePattern extends Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- RoutePattern
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val CONNECT: RoutePattern[Unit]
- val DELETE: RoutePattern[Unit]
- val GET: RoutePattern[Unit]
- val HEAD: RoutePattern[Unit]
- val OPTIONS: RoutePattern[Unit]
- val PATCH: RoutePattern[Unit]
- val POST: RoutePattern[Unit]
- val PUT: RoutePattern[Unit]
- val TRACE: RoutePattern[Unit]
-
val
any: RoutePattern[Path]
The any pattern matches any method and any path.
The any pattern matches any method and any path. It is unlikely you need to use this pattern, because it would preclude the use of any other route (at least, unless listed as the final route in a collection of routes).
-
def
apply(method: Method, pathString: String): RoutePattern[Unit]
Constructs a route pattern from a method and a path literal.
Constructs a route pattern from a method and a path literal. To match against any method, use zio.http.Method.ANY. The specified string may contain path segments, which are separated by slashes.
- def apply(method: Method, path: Path): RoutePattern[Unit]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
fromMethod(method: Method): RoutePattern[Unit]
Constructs a route pattern from a method.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )