ActorPaths

org.apache.pekko.actor.ActorPaths
object ActorPaths

Java API

Attributes

Source
ActorPath.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
ActorPaths.type

Members list

Value members

Concrete methods

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

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

Attributes

Source
ActorPath.scala

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.

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.

Attributes

Source
ActorPath.scala
final def validatePathElement(element: String): Unit

Validates the given actor path element and throws an InvalidActorNameException if invalid. See isValidPathElement for a non-throwing version.

Validates the given actor path element and throws an InvalidActorNameException if invalid. See isValidPathElement for a non-throwing version.

Value parameters

element

actor path element to be validated

Attributes

Source
ActorPath.scala
final def validatePathElement(element: String, fullPath: String): Unit

Validates the given actor path element and throws an InvalidActorNameException if invalid. See isValidPathElement for a non-throwing version.

Validates the given actor path element and throws an InvalidActorNameException if invalid. See isValidPathElement for a non-throwing version.

Value parameters

element

actor path element to be validated

fullPath

optional fullPath element that may be included for better error messages; null if not given

Attributes

Source
ActorPath.scala