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 Summary

    Modifier and Type
    Method
    Description
    static String
    describe(io.fluxzero.common.api.Metadata metadata)
    Returns method plus origin/raw path; query, fragment and percent-decoding never participate in selection.
    static io.fluxzero.common.api.tracking.ConsumerFilter.RoutePattern
    pattern(String method, String origin, String pathRegex)
    Exports a compiled web path without changing the path regex's anchors or lookaround scope.
    static io.fluxzero.common.api.SerializedMessage
    update(io.fluxzero.common.api.SerializedMessage message)
    Refreshes the route from the final serialized request metadata.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • update

      public static io.fluxzero.common.api.SerializedMessage update(io.fluxzero.common.api.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(io.fluxzero.common.api.Metadata metadata)
      Returns method plus origin/raw path; query, fragment and percent-decoding never participate in selection.
    • pattern

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