Class PathParameterAttribute

  • All Implemented Interfaces:
    ExchangeAttribute

    public class PathParameterAttribute
    extends java.lang.Object
    implements ExchangeAttribute
    Path parameter
    Author:
    Stuart Douglas
    • Constructor Detail

      • PathParameterAttribute

        public PathParameterAttribute​(java.lang.String parameter)
    • Method Detail

      • readAttribute

        public java.lang.String readAttribute​(HttpServerExchange exchange)
        Description copied from interface: ExchangeAttribute
        Resolve the attribute from the HTTP server exchange. This may return null if the attribute is not present.
        Specified by:
        readAttribute in interface ExchangeAttribute
        Parameters:
        exchange - The exchange
        Returns:
        The attribute
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object