Packages

o

akka.actor

ActorPaths

object ActorPaths

Java API

Source
ActorPath.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ActorPaths
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def fromString(s: String): ActorPath

    Parse string as actor path; throws java.net.MalformedURLException if unable to do so.

  2. 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.

  3. 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

  4. 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