package Ġbe . fk un nen . the sw is ssystem Ċ Ċ import Ġorg . springframework . beans . factory . annotation . Autowired Ċ import Ġorg . springframework . boot . autoconfigure . Enable Auto Configuration Ċ import Ġorg . springframework . context . annotation . Bean Ċ import Ġorg . springframework . context . annotation . Configuration Ċ import Ġorg . springframework . http . server . reactive . Reactor Http Handler Adapter Ċ import Ġorg . springframework . web . reactive . function . server . Router Function Ċ import Ġorg . springframework . web . reactive . function . server . Router Functions Ċ import Ġorg . springframework . web . reactive . function . server . Server Response Ċ import Ġreactor . netty . http . server . HttpServer Ċ Ċ @ Configuration Ċ @ Enable Auto Configuration Ċ class ĠHttp Server Config Ġ@ Autowired Ġconstructor () Ġ{ ĊĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġfun Ġhttp Server ( routing Function : ĠRouter Function < Server Response >): ĠHttp Server Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġhttp Handler Ġ= ĠRouter Functions . to Http Handler ( routing Function ) ĊĠĠĠĠĠĠĠ Ġval Ġadapter Ġ= ĠRe actor Http Handler Adapter ( http Handler ) ĊĠĠĠĠĠĠĠ Ġreturn Ġ ĠHttp Server . create () ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. port ( 8 0 8 0 ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. handle ( adapter ) ĊĠĠĠ Ġ} ĊĊ Ċ } Ċ