io
.
youi
.
http
HttpRequest
Related Doc:
package http
case class
HttpRequest
(
method:
Method
=
Method.Get
,
source:
IP
=
IP.LocalHost
,
url:
URL
=
URL()
,
headers:
Headers
=
Headers.empty
,
content:
Option
[
Content
] =
None
,
timestamp:
Long
=
System.currentTimeMillis()
)
extends
Product
with
Serializable
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
HttpRequest
Serializable
Serializable
Product
Equals
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
HttpRequest
(
method:
Method
=
Method.Get
,
source:
IP
=
IP.LocalHost
,
url:
URL
=
URL()
,
headers:
Headers
=
Headers.empty
,
content:
Option
[
Content
] =
None
,
timestamp:
Long
=
System.currentTimeMillis()
)
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
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
val
content
:
Option
[
Content
]
lazy val
cookies
:
List
[
RequestCookie
]
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
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
headers
:
Headers
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
val
method
:
Method
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
val
source
:
IP
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
val
timestamp
:
Long
val
url
:
URL
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
(
...
)
def
withContent
(
content:
Content
)
:
HttpRequest
def
withHeader
(
key:
String
,
value:
String
)
:
HttpRequest
def
withHeader
(
header:
Header
)
:
HttpRequest
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
AnyRef
Inherited from
Any
Ungrouped