Class AttributeHandler

  • All Implemented Interfaces:
    com.sun.net.httpserver.HttpHandler

    public abstract class AttributeHandler
    extends Object
    implements com.sun.net.httpserver.HttpHandler
    Ein HttpHandler, der eigene Attribute besitzen kann
    Version:
    1, 30.6.2021
    Author:
    Ulrich Hilger
    • Constructor Detail

      • AttributeHandler

        public AttributeHandler()
    • Method Detail

      • handle

        public abstract void handle​(com.sun.net.httpserver.HttpExchange exchange)
                             throws IOException
        Specified by:
        handle in interface com.sun.net.httpserver.HttpHandler
        Throws:
        IOException
      • setAttribute

        public void setAttribute​(String key,
                                 String value)