com
.
sksamuel
.
scruffy
Request
case class
Request
[
+E
,
+P <:
Product
]
(
req:
ScruffyContext
,
ctx:
ChannelHandlerContext
,
marshallers:
Iterable
[
Marshaller
] =
Nil
,
response:
Option
[
Response
] =
None
,
properties:
Map
[
PropertyKey
[
Any
],
Any
] =
Map.empty
,
cookies:
Map
[
String
,
String
] =
Map.empty
,
session:
Option
[
Session
] =
None
)
(
implicit
evidence$1:
Manifest
[
E
]
,
evidence$2:
Manifest
[
P
]
)
extends
Product
with
Serializable
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
Request
Serializable
Serializable
Product
Equals
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Instance Constructors
new
Request
(
req:
ScruffyContext
,
ctx:
ChannelHandlerContext
,
marshallers:
Iterable
[
Marshaller
] =
Nil
,
response:
Option
[
Response
] =
None
,
properties:
Map
[
PropertyKey
[
Any
],
Any
] =
Map.empty
,
cookies:
Map
[
String
,
String
] =
Map.empty
,
session:
Option
[
Session
] =
None
)
(
implicit
arg0:
Manifest
[
E
]
,
arg1:
Manifest
[
P
]
)
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
(
...
)
def
cookie
(
name:
String
)
:
Option
[
Cookie
]
def
cookieValue
(
name:
String
)
:
Option
[
String
]
val
cookies
:
Map
[
String
,
String
]
val
ctx
:
ChannelHandlerContext
def
entity
:
E
def
entityAs
[
F
]
(
implicit
arg0:
Manifest
[
F
]
)
:
F
def
entityBytes
:
Array
[
Byte
]
def
entityString
:
String
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
def
group
(
name:
String
)
:
String
def
hasProperty
(
property:
PropertyKey
[
Any
]
)
:
Boolean
def
header
(
key:
HeaderKey
)
:
Option
[
String
]
def
header
(
name:
String
)
:
Option
[
String
]
def
interrupted
:
Boolean
def
ipAddress
:
String
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
val
marshallers
:
Iterable
[
Marshaller
]
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
(
name:
String
)
:
Option
[
String
]
def
params
:
P
def
params
(
name:
String
)
:
Seq
[
String
]
val
properties
:
Map
[
PropertyKey
[
Any
],
Any
]
def
property
[
T
]
(
key:
PropertyKey
[
T
]
)
:
Option
[
T
]
val
req
:
ScruffyContext
def
responded
:
Boolean
val
response
:
Option
[
Response
]
val
session
:
Option
[
Session
]
def
skip
:
Request
[
E
,
P
]
def
skipped
:
Boolean
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
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
withCookie
(
name:
String
,
value:
String
)
:
Request
[
E
,
P
]
def
withProperty
[
T
]
(
header:
PropertyKey
[
T
]
,
value:
T
)
:
Request
[
E
,
P
]
def
withResponse
(
response:
Response
)
:
Request
[
E
,
P
]
def
withSession
(
session:
Session
)
:
Request
[
E
,
P
]
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
AnyRef
Inherited from
Any
Ungrouped