object ActorPath extends Serializable
- Source
- ActorPath.scala
- Alphabetic
- By Inheritance
- ActorPath
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
def
fromString(s: String): ActorPath
Parse string as actor path; throws java.net.MalformedURLException if unable to do so.
-
final
def
isValidPathElement(s: String): Boolean
This method is used to validate a path element (Actor Name).
This method is used to validate a path element (Actor Name). Since Actors form a tree, it is addressable using an URL, therefore an Actor Name has to conform to: RFC-2396.
User defined Actor names may not start from a
$
sign - these are reserved for system names. -
final
def
validatePathElement(element: String, fullPath: String): Unit
Validates the given actor path element and throws an InvalidActorNameException if invalid.
Validates the given actor path element and throws an InvalidActorNameException if invalid. See #isValidPathElement for a non-throwing version.
- element
actor path element to be validated
- fullPath
optional fullPath element that may be included for better error messages; null if not given
-
final
def
validatePathElement(element: String): Unit
Validates the given actor path element and throws an InvalidActorNameException if invalid.
Validates the given actor path element and throws an InvalidActorNameException if invalid. See #isValidPathElement for a non-throwing version.
- element
actor path element to be validated