Class ResponseCodeAttribute.Builder

java.lang.Object
io.quarkus.vertx.http.runtime.attribute.ResponseCodeAttribute.Builder
All Implemented Interfaces:
ExchangeAttributeBuilder
Enclosing class:
ResponseCodeAttribute

public static final class ResponseCodeAttribute.Builder extends Object implements ExchangeAttributeBuilder
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • name

      public String name()
      Description copied from interface: ExchangeAttributeBuilder
      The string representation of the attribute name. This is used solely for debugging / informational purposes
      Specified by:
      name in interface ExchangeAttributeBuilder
      Returns:
      The attribute name
    • build

      public ExchangeAttribute build(String token)
      Description copied from interface: ExchangeAttributeBuilder
      Build the attribute from a text based representation. If the attribute does not understand this representation then it will just return null.
      Specified by:
      build in interface ExchangeAttributeBuilder
      Parameters:
      token - The string token
      Returns:
      The exchange attribute, or null
    • priority

      public int priority()
      Description copied from interface: ExchangeAttributeBuilder
      The priority of the builder. Builders will be tried in priority builder. Built in builders use the priority range 0-100,
      Specified by:
      priority in interface ExchangeAttributeBuilder
      Returns:
      The priority