/armeria-examples

Armeria examples

Primary LanguageJavaCreative Commons Zero v1.0 UniversalCC0-1.0

Armeria examples

  • annotated-http-service

  • annotated-http-service-kotlin

  • context-propagation

    • Learn how to propagate Armeria's RequestContext for use in scenarios like tracing.
    • dagger provides an example using the Dagger asynchronous framework for automatic propagation.
    • manual provides an example manually propagating the context with Java's standard CompletableFuture.
    • reactor provides an example using the Reactor asynchronous framework for automatic propagation.
    • rxjava provides an example using the RxJava3 asynchronous framework for automatic propagation.
  • grpc

  • grpc-kotlin

  • grpc-reactor

  • proxy-server

  • saml-service-provider

  • server-sent-events

  • spring-boot-minimal

    • Learn how to use Armeria with the minimal Spring Boot dependencies.
  • spring-boot-minimal-kotlin

    • Learn how to use Armeria with the minimal Spring Boot dependencies (Kotlin).
  • spring-boot-tomcat

    • Learn how to make Armeria serve your Spring Boot web application.
  • spring-boot-webflux

  • dropwizard

  • static-files

  • thrift

Configure -parameters javac option

You can omit the value of @Param if you compiled your code with -parameters javac option. Please refer to Configure -parameters javac option for more information.

How to run

License

All files under this directory (examples) belong to the public domain. Please feel free to copy-and-paste and start your awesome project with Armeria!