com
.
outr
.
net
URL
Related Docs:
object URL
|
package net
case class
URL
(
protocol:
Protocol
=
Protocol.Http
,
host:
String
=
"localhost"
,
port:
Int
=
80
,
ip:
IP
=
IP.LocalHost
,
path:
String
=
"/"
,
parameters:
HttpParameters
=
HttpParameters.Empty
,
hash:
String
=
null
,
isEncoded:
Boolean
=
true
)
extends
HasHostAndPort
with
HasIP
with
Product
with
Serializable
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
HasIP
,
HasHostAndPort
,
HasPort
,
HasHost
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
URL
Serializable
Serializable
Product
Equals
HasIP
HasHostAndPort
HasPort
HasHost
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Instance Constructors
new
URL
(
protocol:
Protocol
=
Protocol.Http
,
host:
String
=
"localhost"
,
port:
Int
=
80
,
ip:
IP
=
IP.LocalHost
,
path:
String
=
"/"
,
parameters:
HttpParameters
=
HttpParameters.Empty
,
hash:
String
=
null
,
isEncoded:
Boolean
=
true
)
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
lazy val
base
:
String
lazy val
baseAndPath
:
String
def
breakDown
:
String
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
decoded
:
URL
lazy val
domain
:
String
Definition Classes
HasHost
def
encoded
:
URL
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
lazy val
extension
:
String
lazy val
filename
:
String
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
val
hash
:
String
val
host
:
String
Definition Classes
URL
→
HasHost
lazy val
hostAsIP
:
Option
[
Product
with
Serializable
with
IP
]
Definition Classes
HasHost
lazy val
hostPort
:
String
Definition Classes
HasHostAndPort
val
ip
:
IP
Definition Classes
URL
→
HasIP
val
isEncoded
:
Boolean
lazy val
isHostIp
:
Boolean
Definition Classes
HasHost
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
lazy val
javaURL
:
java.net.URL
def
loadAsString
()
:
String
Contacts the supplied URL and returns the response as a String.
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
param
(
key:
String
,
value:
String
)
:
URL
val
parameters
:
HttpParameters
val
path
:
String
val
port
:
Int
Definition Classes
URL
→
HasPort
val
protocol
:
Protocol
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
URL
→ AnyRef → Any
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
HasIP
Inherited from
HasHostAndPort
Inherited from
HasPort
Inherited from
HasHost
Inherited from
AnyRef
Inherited from
Any
Ungrouped