colossus
.
protocols
.
http
HttpRequest
case class
HttpRequest
(
head:
HttpRequestHead
,
body:
HttpBody
)
extends
Encoder
with
HttpRequestBuilding
[
HttpRequest
] with
Product
with
Serializable
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
HttpRequestBuilding
[
HttpRequest
],
Encoder
,
DataReader
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
HttpRequest
Serializable
Serializable
Product
Equals
HttpRequestBuilding
Encoder
DataReader
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Instance Constructors
new
HttpRequest
(
head:
HttpRequestHead
,
body:
HttpBody
)
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
def
badRequest
[
T
]
(
message:
T
,
headers:
HttpHeaders
=
HttpHeaders.Empty
)
(
implicit
arg0:
HttpBodyEncoder
[
T
]
)
:
HttpResponse
val
body
:
HttpBody
def
bytes
:
ByteString
Definition Classes
Encoder
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
current
:
HttpRequest
Attributes
protected
Definition Classes
HttpRequest
→
HttpRequestBuilding
def
encode
(
buffer:
DataOutBuffer
)
:
Unit
Definition Classes
HttpRequest
→
Encoder
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
error
[
T
]
(
message:
T
,
headers:
HttpHeaders
=
HttpHeaders.Empty
)
(
implicit
arg0:
HttpBodyEncoder
[
T
]
)
:
HttpResponse
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
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
val
head
:
HttpRequestHead
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
next
(
req:
HttpRequest
)
:
HttpRequest
Attributes
protected
Definition Classes
HttpRequest
→
HttpRequestBuilding
def
notFound
[
T
]
(
data:
T
,
headers:
HttpHeaders
=
HttpHeaders.Empty
)
(
implicit
arg0:
HttpBodyEncoder
[
T
]
)
:
HttpResponse
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
def
respond
[
T
]
(
code:
HttpCode
,
data:
T
,
headers:
HttpHeaders
=
HttpHeaders.Empty
)
(
implicit
arg0:
HttpBodyEncoder
[
T
]
)
:
HttpResponse
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
transformHead
(
f: (
HttpRequestHead
) ⇒
HttpRequestHead
)
:
HttpRequest
Attributes
protected
Definition Classes
HttpRequestBuilding
def
unauthorized
[
T
]
(
message:
T
,
headers:
HttpHeaders
=
HttpHeaders.Empty
)
(
implicit
arg0:
HttpBodyEncoder
[
T
]
)
:
HttpResponse
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
withBody
(
body:
HttpBody
)
:
HttpRequest
Definition Classes
HttpRequestBuilding
def
withHeader
(
key:
String
,
value:
String
)
:
HttpRequest
Definition Classes
HttpRequestBuilding
def
withHeader
(
header:
HttpHeader
)
:
HttpRequest
Definition Classes
HttpRequestBuilding
def
withMethod
(
method:
HttpMethod
)
:
HttpRequest
Definition Classes
HttpRequestBuilding
def
withPath
(
path:
String
)
:
HttpRequest
Definition Classes
HttpRequestBuilding
def
withVersion
(
version:
HttpVersion
)
:
HttpRequest
Definition Classes
HttpRequestBuilding
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
HttpRequestBuilding
[
HttpRequest
]
Inherited from
Encoder
Inherited from
DataReader
Inherited from
AnyRef
Inherited from
Any
Ungrouped