org
.
sisioh
.
trinity
.
domain
.
http
TrinityResponse
case class
TrinityResponse
(
status:
HttpResponseStatus
=
com.twitter.finagle.http.Status.Ok
,
headers:
Map
[
String
,
AnyRef
] =
...
,
cookies:
Seq
[
Cookie
] =
collection.this.Seq.empty[Nothing]
,
body:
Option
[
ChannelBuffer
] =
scala.None
)
extends
Product
with
Serializable
Trinity内で扱うレスポンスを表す値オブジェクト。
status
headers
cookies
body
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
TrinityResponse
Serializable
Serializable
Product
Equals
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Instance Constructors
new
TrinityResponse
(
status:
Int
,
headers:
Map
[
String
,
AnyRef
]
,
cookies:
Seq
[
Cookie
]
,
body:
Option
[
ChannelBuffer
]
)
new
TrinityResponse
(
status:
HttpResponseStatus
=
com.twitter.finagle.http.Status.Ok
,
headers:
Map
[
String
,
AnyRef
] =
...
,
cookies:
Seq
[
Cookie
] =
collection.this.Seq.empty[Nothing]
,
body:
Option
[
ChannelBuffer
] =
scala.None
)
status
headers
cookies
body
Value Members
final
def
!=
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
val
body
:
Option
[
ChannelBuffer
]
def
bodyAsString
:
Option
[
String
]
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
val
cookies
:
Seq
[
Cookie
]
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
:
Map
[
String
,
AnyRef
]
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
val
status
:
HttpResponseStatus
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toFinagleResponse
:
Response
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
AnyRef
Inherited from
Any
Ungrouped
Trinity内で扱うレスポンスを表す値オブジェクト。