colossus
.
protocols
.
http
HttpResponse
object
HttpResponse
extends
HttpResponseBuilding
with
Serializable
Linear Supertypes
Serializable
,
Serializable
,
HttpResponseBuilding
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
HttpResponse
Serializable
Serializable
HttpResponseBuilding
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
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
def
apply
(
version:
HttpVersion
,
code:
HttpCode
,
headers:
HttpHeaders
)
:
HttpResponse
def
apply
[
T
]
(
version:
HttpVersion
,
code:
HttpCode
,
headers:
HttpHeaders
,
data:
T
)
(
implicit
arg0:
HttpBodyEncoder
[
T
]
)
:
HttpResponse
def
apply
[
T
]
(
head:
HttpResponseHead
,
body:
T
)
(
implicit
arg0:
HttpBodyEncoder
[
T
]
)
:
HttpResponse
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
badRequest
[
T
]
(
message:
T
,
headers:
HttpHeaders
=
HttpHeaders.Empty
)
(
implicit
arg0:
HttpBodyEncoder
[
T
]
)
:
HttpResponse
Definition Classes
HttpResponseBuilding
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
error
[
T
]
(
message:
T
,
headers:
HttpHeaders
=
HttpHeaders.Empty
)
(
implicit
arg0:
HttpBodyEncoder
[
T
]
)
:
HttpResponse
Definition Classes
HttpResponseBuilding
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
forbidden
[
T
]
(
message:
T
,
headers:
HttpHeaders
=
HttpHeaders.Empty
)
(
implicit
arg0:
HttpBodyEncoder
[
T
]
)
:
HttpResponse
Definition Classes
HttpResponseBuilding
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
def
initialVersion
:
1.1
.type
Definition Classes
HttpResponse
→
HttpResponseBuilding
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
notFound
[
T
]
(
data:
T
,
headers:
HttpHeaders
=
HttpHeaders.Empty
)
(
implicit
arg0:
HttpBodyEncoder
[
T
]
)
:
HttpResponse
Definition Classes
HttpResponseBuilding
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
ok
[
T
]
(
data:
T
,
headers:
HttpHeaders
=
HttpHeaders.Empty
)
(
implicit
arg0:
HttpBodyEncoder
[
T
]
)
:
HttpResponse
Definition Classes
HttpResponseBuilding
def
respond
[
T
]
(
code:
HttpCode
,
data:
T
,
headers:
HttpHeaders
=
HttpHeaders.Empty
)
(
implicit
arg0:
HttpBodyEncoder
[
T
]
)
:
HttpResponse
Definition Classes
HttpResponseBuilding
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
def
unauthorized
[
T
]
(
message:
T
,
headers:
HttpHeaders
=
HttpHeaders.Empty
)
(
implicit
arg0:
HttpBodyEncoder
[
T
]
)
:
HttpResponse
Definition Classes
HttpResponseBuilding
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
HttpResponseBuilding
Inherited from
AnyRef
Inherited from
Any
Ungrouped