Class MqttHttpRequestHandler
- java.lang.Object
-
- br.com.anteros.mqtt.core.server.http.handler.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 Summary
Constructors Constructor Description MqttHttpRequestHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclearStaticResCache()org.tio.http.common.HttpConfiggetHttpConfig(org.tio.http.common.HttpRequest request)org.tio.http.common.HttpResponsehandler(org.tio.http.common.HttpRequest request)org.tio.http.common.HttpResponseresp404(org.tio.http.common.HttpRequest request, org.tio.http.common.RequestLine requestLine)org.tio.http.common.HttpResponseresp500(org.tio.http.common.HttpRequest request, org.tio.http.common.RequestLine requestLine, Throwable throwable)
-
-
-
Method Detail
-
handler
public org.tio.http.common.HttpResponse handler(org.tio.http.common.HttpRequest request)
- Specified by:
handlerin interfaceorg.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:
resp404in interfaceorg.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:
resp500in interfaceorg.tio.http.common.handler.HttpRequestHandler
-
getHttpConfig
public org.tio.http.common.HttpConfig getHttpConfig(org.tio.http.common.HttpRequest request)
- Specified by:
getHttpConfigin interfaceorg.tio.http.common.handler.HttpRequestHandler
-
clearStaticResCache
public void clearStaticResCache()
- Specified by:
clearStaticResCachein interfaceorg.tio.http.common.handler.HttpRequestHandler
-
-