class
HttpClient
extends HttpPeer
Type Members
-
type
Receive
= PartialFunction[Any, Unit]
Value Members
-
def
!=
(arg0: AnyRef): Boolean
-
def
!=
(arg0: Any): Boolean
-
def
##
(): Int
-
def
==
(arg0: AnyRef): Boolean
-
def
==
(arg0: Any): Boolean
-
def
asInstanceOf
[T0]
: T0
-
def
become
(behavior: Receive, discardOld: Boolean): Unit
-
def
cleanClose
(conn: Conn): Unit
-
def
cleanUp
(): Unit
-
def
clone
(): AnyRef
-
def
close
(conn: Conn): Unit
-
-
val
connections
: LinkedList[Conn]
-
def
eq
(arg0: AnyRef): Boolean
-
def
equals
(arg0: Any): Boolean
-
def
finalize
(): Unit
-
def
finishWrite
(conn: ClientConnection): Unit
-
def
freshInstance
(): Option[Actor]
-
def
getClass
(): java.lang.Class[_]
-
def
handleChunkedChunk
(conn: Conn, parser: ChunkedChunkParser): Unit
-
def
handleChunkedEnd
(conn: Conn, parser: ChunkedEndParser): Unit
-
def
handleChunkedStart
(conn: Conn, parser: ChunkedStartParser): Unit
-
def
handleCompleteMessage
(conn: Conn, parser: CompleteMessageParser): Unit
-
def
handleConnectionEvent
(key: SelectionKey): Unit
-
def
handleParseError
(conn: Conn, parser: ErrorParser): Unit
-
def
handleTimedOutRequests
(): Unit
-
def
hashCode
(): Int
-
val
idleTimeoutCycle
: Option[ScheduledFuture[AnyRef]]
-
def
isDefinedAt
(message: Any): Boolean
-
def
isInstanceOf
[T0]
: Boolean
-
def
ne
(arg0: AnyRef): Boolean
-
def
notify
(): Unit
-
def
notifyAll
(): Unit
-
def
openRequestCount
: Int
-
def
optionSelf
: Option[ActorRef]
-
def
postRestart
(reason: Throwable): Unit
-
def
postStop
(): Unit
-
def
preRestart
(reason: Throwable, message: Option[Any]): Unit
-
def
preStart
(): Unit
-
def
protectIO
[A]
(operation: String, conn: Conn = null)(body: ⇒ A): Either[String, A]
-
val
readBuffer
: ByteBuffer
-
def
reapConnection
(conn: Conn): Unit
-
def
receive
: PartialFunction[Any, Unit]
-
val
requestTimeoutCycle
: Option[ScheduledFuture[AnyRef]]
-
var
requestsDispatched
: Long
-
var
requestsTimedOut
: Long
-
val
selector
: AbstractSelector
-
implicit val
self
: ScalaActorRef
-
val
someSelf
: Some[ActorRef]
-
var
startTime
: Long
-
def
stats
: Stats
-
def
synchronized
[T0]
(arg0: ⇒ T0): T0
-
def
toString
(): String
-
def
unbecome
(): Unit
-
def
unhandled
(msg: Any): Unit
-
def
wait
(): Unit
-
def
wait
(arg0: Long, arg1: Int): Unit
-
def
wait
(arg0: Long): Unit
Deprecated Value Members
-
def
preRestart
(reason: Throwable): Unit
Inherited from HttpPeer
Inherited from Actor
Inherited from AnyRef
Inherited from Any
The actor implementing the spray-can HTTP client functionality. Normally you only need to start one
HttpClient
actor per JVM instance since anHttpClient
is able to concurrently and efficiently manage a large number of connections.An
HttpClient
reacts to Connect and cc.spray.can.GetStats messages.