trait
BodyConsumer[+T] extends (Array[Byte], Boolean) ⇒ Either[BodyConsumer[T], T]
Abstract Value Members
-
abstract
def
apply(bytes: Array[Byte], isLast: Boolean): Either[BodyConsumer[T], T]
Concrete Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
def
curried: (Array[Byte]) ⇒ (Boolean) ⇒ Either[BodyConsumer[T], T]
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
def
map[U](f: (T) ⇒ U): BodyConsumer[U]
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
def
tupled: ((Array[Byte], Boolean)) ⇒ Either[BodyConsumer[T], T]
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from (Array[Byte], Boolean) ⇒ Either[BodyConsumer[T], T]
Inherited from AnyRef
Inherited from Any
The body-consuming stage of an HTTP processing state machine. This is called by a com.socrata.http.NiceAsyncHandler with chunks of the HTTP response body. It may either continue processing by returning
Left
or terminate processing by either throwing an exception or returningRight
.