Class ServletRelativePathAttribute

java.lang.Object
io.undertow.servlet.attribute.ServletRelativePathAttribute
All Implemented Interfaces:
io.undertow.attribute.ExchangeAttribute

public class ServletRelativePathAttribute extends Object implements io.undertow.attribute.ExchangeAttribute
The relative path
Author:
Stuart Douglas
  • Field Details

    • RELATIVE_PATH_SHORT

      public static final String RELATIVE_PATH_SHORT
      See Also:
    • RELATIVE_PATH

      public static final String RELATIVE_PATH
      See Also:
    • INSTANCE

      public static final io.undertow.attribute.ExchangeAttribute INSTANCE
  • Method Details

    • readAttribute

      public String readAttribute(io.undertow.server.HttpServerExchange exchange)
      Specified by:
      readAttribute in interface io.undertow.attribute.ExchangeAttribute
    • writeAttribute

      public void writeAttribute(io.undertow.server.HttpServerExchange exchange, String newValue) throws io.undertow.attribute.ReadOnlyAttributeException
      Specified by:
      writeAttribute in interface io.undertow.attribute.ExchangeAttribute
      Throws:
      io.undertow.attribute.ReadOnlyAttributeException
    • toString

      public String toString()
      Overrides:
      toString in class Object