Presented By: Kuldeepak Gupta
High Level Server API
- Akka Http
Lack of etiquette and manners is a huge turn off.
KnolX Etiquettes
Punctuality
Respect Knolx session timings, you
are requested not to join sessions
after a 5 minutes threshold post
the session start time.
Feedback
Make sure to submit a constructive
feedback for all sessions as it is
very helpful for the presenter.
Mute
Please keep your window on mute
Avoid Disturbance
Avoid leaving your window
unmuted after asking a question
Agenda
01 What is Akka Http
02 Modules in Akka Http
04 Modules in High Level Server API
High Level Server API
03
05 Demo
Akka Http
Akka Http
● Implements a full server- and client-side HTTP stack on top of akka-actor
and akka-stream.
● Builds REST API’s
● Good support for standard serialization such as JSON/XML.
Modules in Akka Http
Modules in Akka-Http
● Akka-Http–Core
● Akka-Http
● Akka-Http-Testkit
● Akka-Http-Spray-Json
● Akka-Http-Xml
High Level Server API
HLS API
● The high-level, routing API of Akka HTTP provides a DSL to describe
HTTP “routes”.
● Each route is composed of one or more level of Directives that
narrows down to handling one specific type of request.
● Provide a flexible way to create routes.
Modules in HLS API
Modules in HLS API
● Directives
● Routing DSL
● Authorization
● IP Extraction
● Rejection and Exception Handling
● Case Class Extraction
Demo
Thank You !

High Level Server API - Akka Http.pdf

  • 1.
    Presented By: KuldeepakGupta High Level Server API - Akka Http
  • 2.
    Lack of etiquetteand manners is a huge turn off. KnolX Etiquettes Punctuality Respect Knolx session timings, you are requested not to join sessions after a 5 minutes threshold post the session start time. Feedback Make sure to submit a constructive feedback for all sessions as it is very helpful for the presenter. Mute Please keep your window on mute Avoid Disturbance Avoid leaving your window unmuted after asking a question
  • 3.
    Agenda 01 What isAkka Http 02 Modules in Akka Http 04 Modules in High Level Server API High Level Server API 03 05 Demo
  • 4.
  • 5.
    Akka Http ● Implementsa full server- and client-side HTTP stack on top of akka-actor and akka-stream. ● Builds REST API’s ● Good support for standard serialization such as JSON/XML.
  • 6.
  • 7.
    Modules in Akka-Http ●Akka-Http–Core ● Akka-Http ● Akka-Http-Testkit ● Akka-Http-Spray-Json ● Akka-Http-Xml
  • 8.
  • 9.
    HLS API ● Thehigh-level, routing API of Akka HTTP provides a DSL to describe HTTP “routes”. ● Each route is composed of one or more level of Directives that narrows down to handling one specific type of request. ● Provide a flexible way to create routes.
  • 10.
  • 11.
    Modules in HLSAPI ● Directives ● Routing DSL ● Authorization ● IP Extraction ● Rejection and Exception Handling ● Case Class Extraction
  • 12.
  • 13.