object HttpRequest
- Source
- HttpMessage.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- HttpRequest
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
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
- def apply(method: HttpMethod = HttpMethods.GET, uri: Uri = Uri./, headers: Seq[HttpHeader] = Nil, entity: RequestEntity = HttpEntity.Empty, protocol: HttpProtocol = HttpProtocols.`HTTP/1.1`): HttpRequest
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
effectiveUri(uri: Uri, headers: Seq[HttpHeader], securedConnection: Boolean, defaultHostHeader: Host): Uri
Determines the effective request URI according to the logic defined at http://tools.ietf.org/html/rfc7230#section-5.5
Determines the effective request URI according to the logic defined at http://tools.ietf.org/html/rfc7230#section-5.5
Throws an IllegalUriException if the URI is relative and the
headers
don't include a valid akka.http.scaladsl.model.headers.Host header or if URI authority and akka.http.scaladsl.model.headers.Host header don't match. -
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def unapply(any: HttpRequest): OptHttpRequest
-
def
verifyUri(uri: Uri): Unit
Verifies that the given Uri is non-empty and has either scheme
http
,https
,ws
,wss
or no scheme at all.Verifies that the given Uri is non-empty and has either scheme
http
,https
,ws
,wss
or no scheme at all. If any of these conditions is not met the method throws an IllegalUriException. -
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( ... ) @native()