zenith
package zenith
. . \ / ||/ |_| | / // \ / \| \ \ | \ / /\ _/| | \ || | | Y \ /_ \_ >_| /||| |_| / \/ \/ \/ \/
- Alphabetic
- By Inheritance
- zenith
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
trait
Async[Z[_]] extends Serializable
Async
Async
This typeclass is an abstraction over common features available in different flavours of
Future
, like: - scala.concurrent.Future - com.twitter.util.Future - scala.actor.Future - java.util.concurrent.Future -
abstract
class
HttpClientProvider[Z[_]] extends AnyRef
HttpClientProvider
-
trait
HttpCommon extends AnyRef
HttpCommon
HttpCommon
Common functions between
HttpRequest
andHttpResponse
. -
final
case class
HttpExchange(request: HttpRequest, result: Either[Throwable, HttpResponse], timeMs: Int) extends Product with Serializable
HttpExchange
-
sealed abstract final
class
HttpMethod extends Enum[HttpMethod]
. . \ / ||/ |_| | / // \ / \| \ \ | \ / /\ _/| | \ || | | Y \ /_ \_ >_| /||| |_| / \/ \/ \/ \/
-
final
case class
HttpRequest(method: String, requestUri: String, version: String, host: String, hostPort: Int, headers: Map[String, String], data: List[Byte]) extends HttpCommon with Product with Serializable
HttpRequest
HttpRequest
HTTP REQUEST HEADER FORMAT
GET /DescribeNodes?NodeTypeId=6&LanguageCode=ES HTTP/1.1 Host: localhost:8092
1st line ~ Method Route Version 2nd line ~ Host:Port
-
final
case class
HttpResponse(code: Int, data: List[Byte] = Nil, headers: Map[String, String] = Map (), version: String = "HTTP/1.1") extends HttpCommon with Product with Serializable
HttpResponse
-
abstract
class
HttpServerProvider[Z[_]] extends AnyRef
HttpServerProvider
-
trait
Logger[Z[_]] extends Serializable
Logger
- trait StringExtensions extends AnyRef
- trait ThrowableExtensions extends AnyRef
- class assertion extends Annotation with Annotation with ClassfileAnnotation
- class description extends Annotation with Annotation with ClassfileAnnotation
- class endpoint extends Annotation with Annotation with ClassfileAnnotation
- class method extends Annotation with Annotation with ClassfileAnnotation
- class path extends Annotation with Annotation with ClassfileAnnotation
Value Members
- lazy val ZENITH: Option[Channel]
- lazy val longMessageBodyReplacementText: String
- lazy val maxPrintableMessageBodySize: Int
- lazy val utf8: Charset
- object Async extends Serializable
-
object
ContentType
ContentType
- object Extensions extends StringExtensions with ThrowableExtensions
- object HttpRequest extends Serializable
- object HttpResponse extends Serializable
- object Logger extends Serializable