Class WebRequestRoute

java.lang.Object
io.fluxzero.sdk.web.WebRequestRoute

public final class WebRequestRoute extends Object
Producer-side projection of web addressing onto the generic message route field.
  • Method Details

    • update

      public static SerializedMessage update(SerializedMessage message)
      Refreshes the route from the final serialized request metadata. Missing or malformed addressing clears the route, retaining the ordinary web error path. Call this after serialized dispatch interceptors.
    • describe

      public static String describe(Metadata metadata)
      Returns method plus origin/raw path; query, fragment and percent-decoding never participate in selection.
    • pattern

      public static ConsumerFilter.RoutePattern pattern(String method, String origin, String pathRegex)
      Exports a compiled web path without changing the path regex's anchors or lookaround scope.