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.
-
-
Field Summary
Fields Modifier and Type Field Description static AddressFromURIString$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description AddressFromURIString$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Address
apply(java.lang.String addr)
Try to construct an Address from the given String or throw a java.net.MalformedURLException.Address
parse(java.lang.String addr)
Java API: Try to construct an Address from the given String or throw a java.net.MalformedURLException.scala.Option<Address>
unapply(java.lang.String addr)
scala.Option<Address>
unapply(java.net.URI uri)
-
-
-
Field Detail
-
MODULE$
public static final AddressFromURIString$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
unapply
public scala.Option<Address> unapply(java.lang.String addr)
-
unapply
public scala.Option<Address> unapply(java.net.URI uri)
-
apply
public Address apply(java.lang.String addr)
Try to construct an Address from the given String or throw a java.net.MalformedURLException.
-
parse
public Address parse(java.lang.String addr)
Java API: Try to construct an Address from the given String or throw a java.net.MalformedURLException.
-
-