Annotation Interface SetUpRoute


@Retention(RUNTIME) @Target(METHOD) public @interface SetUpRoute
A static method configuring router (and/or socket) for the server. Multiple methods may exist, each configuring a different socket (see value()). Supported signatures: static void routing(HttpRouting.Builder builder) static void routing(HttpRouting.Builder builder, ListenerConfiguration.Builder builder)
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Socket name for this router.
  • Element Details

    • value

      String value
      Socket name for this router.
      Returns:
      name of the socket
      Default:
      "@default"