Class MqttHttpRequestHandler

  • All Implemented Interfaces:
    org.tio.http.common.handler.HttpRequestHandler

    public class MqttHttpRequestHandler
    extends Object
    implements org.tio.http.common.handler.HttpRequestHandler
    mqtt http 消息处理
    Author:
    L.cm
    • Constructor Detail

      • MqttHttpRequestHandler

        public MqttHttpRequestHandler()
    • Method Detail

      • handler

        public org.tio.http.common.HttpResponse handler​(org.tio.http.common.HttpRequest request)
        Specified by:
        handler in interface org.tio.http.common.handler.HttpRequestHandler
      • resp404

        public org.tio.http.common.HttpResponse resp404​(org.tio.http.common.HttpRequest request,
                                                        org.tio.http.common.RequestLine requestLine)
        Specified by:
        resp404 in interface org.tio.http.common.handler.HttpRequestHandler
      • resp500

        public org.tio.http.common.HttpResponse resp500​(org.tio.http.common.HttpRequest request,
                                                        org.tio.http.common.RequestLine requestLine,
                                                        Throwable throwable)
        Specified by:
        resp500 in interface org.tio.http.common.handler.HttpRequestHandler
      • getHttpConfig

        public org.tio.http.common.HttpConfig getHttpConfig​(org.tio.http.common.HttpRequest request)
        Specified by:
        getHttpConfig in interface org.tio.http.common.handler.HttpRequestHandler
      • clearStaticResCache

        public void clearStaticResCache()
        Specified by:
        clearStaticResCache in interface org.tio.http.common.handler.HttpRequestHandler