Class IdentUsernameAttribute

java.lang.Object
io.quarkus.vertx.http.runtime.attribute.IdentUsernameAttribute
All Implemented Interfaces:
ExchangeAttribute

public class IdentUsernameAttribute extends Object implements ExchangeAttribute
The ident username, not used, included for apache access log compatibility
  • Field Details

  • Method Details

    • readAttribute

      public String readAttribute(io.vertx.ext.web.RoutingContext 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
    • writeAttribute

      public void writeAttribute(io.vertx.ext.web.RoutingContext exchange, String newValue) throws ReadOnlyAttributeException
      Description copied from interface: ExchangeAttribute
      Sets a new value for the attribute. Not all attributes are writable.
      Specified by:
      writeAttribute in interface ExchangeAttribute
      Parameters:
      exchange - The exchange
      newValue - The new value for the attribute
      Throws:
      ReadOnlyAttributeException - when attribute cannot be written