public class HttpApiController extends Object
Constructor and Description |
---|
HttpApiController() |
Modifier and Type | Method and Description |
---|---|
HttpResponse |
chat(HttpRequest request,
HttpConfig httpConfig,
org.tio.core.ChannelContext channelContext) |
HttpResponse |
close(HttpRequest request,
HttpConfig httpConfig,
org.tio.core.ChannelContext channelContext)
关闭指定用户;
|
HttpResponse |
online(HttpRequest request,
HttpConfig httpConfig,
org.tio.core.ChannelContext channelContext)
判断用户是否在线接口;
|
public HttpResponse chat(HttpRequest request, HttpConfig httpConfig, org.tio.core.ChannelContext channelContext) throws Exception
Exception
public HttpResponse online(HttpRequest request, HttpConfig httpConfig, org.tio.core.ChannelContext channelContext) throws Exception
request
- httpConfig
- channelContext
- Exception
public HttpResponse close(HttpRequest request, HttpConfig httpConfig, org.tio.core.ChannelContext channelContext) throws Exception
request
- httpConfig
- channelContext
- Exception
Copyright © 2018. All rights reserved.