Package org.apache.pekko.actor
Class AddressFromURIString
- java.lang.Object
-
- org.apache.pekko.actor.AddressFromURIString
-
public class AddressFromURIString extends java.lang.Object
This object serves as extractor for Scala and as address parser for Java.
-
-
Constructor Summary
Constructors Constructor Description AddressFromURIString()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Address
apply(java.lang.String addr)
Try to construct an Address from the given String or throw a java.net.MalformedURLException.static Address
parse(java.lang.String addr)
Java API: Try to construct an Address from the given String or throw a java.net.MalformedURLException.static scala.Option<Address>
unapply(java.lang.String addr)
static scala.Option<Address>
unapply(java.net.URI uri)
-
-
-
Method Detail
-
unapply
public static scala.Option<Address> unapply(java.lang.String addr)
-
unapply
public static scala.Option<Address> unapply(java.net.URI uri)
-
apply
public static Address apply(java.lang.String addr)
Try to construct an Address from the given String or throw a java.net.MalformedURLException.
-
parse
public static Address parse(java.lang.String addr)
Java API: Try to construct an Address from the given String or throw a java.net.MalformedURLException.
-
-