Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/all4you/bitchat
/ functions
Functions
488 in github.com/all4you/bitchat
⨍
Functions
488
◇
Types & classes
142
Method
hashCode
()
bitchat-core/src/main/java/io/bitchat/http/router/PathPattern.java:97
Method
init
()
bitchat-server/src/main/java/io/bitchat/server/http/ControllerContext.java:53
Method
init
()
bitchat-core/src/main/java/io/bitchat/packet/ctx/CommandProcessorContext.java:45
Method
init
()
bitchat-core/src/main/java/io/bitchat/packet/ctx/RequestProcessorContext.java:49
Method
initChannel
(SocketChannel channel)
bitchat-server/src/main/java/io/bitchat/server/ServerInitializer.java:22
Method
initChannel
(SocketChannel ch)
bitchat-client/src/main/java/io/bitchat/client/GenericClient.java:58
Method
initChannel
(SocketChannel channel)
bitchat-client/src/main/java/io/bitchat/client/ClientInitializer.java:23
Method
invoke
执行方法的调用 @param controller 控制器 @param method 方法 @param methodName 方法名 @return 渲染结果 @throws Exception 异常
bitchat-core/src/main/java/io/bitchat/http/controller/ProxyInvocation.java:59
Method
isPriArrayType
判断是否为基本类型数组 @param cls 需要进行判断的Class对象 @return 是否为基本类型数组
bitchat-core/src/main/java/io/bitchat/http/converter/PrimitiveTypeUtil.java:130
Method
main
(String[] args)
bitchat-server/src/main/java/io/bitchat/server/ServerShell.java:16
Method
main
(String[] args)
bitchat-core/src/main/java/io/bitchat/http/maker/HtmlMakerFactory.java:67
Method
make
(String htmlTemplate, Map<String, Object> contentMap)
bitchat-core/src/main/java/io/bitchat/http/maker/DefaultHtmlMaker.java:15
Method
mapArray
简单复制出新对象列表到数组 <p> 通过source.getComponentType() 获得源Class
bitchat-core/src/main/java/io/bitchat/lang/BeanMapper.java:84
Method
mapList
简单的复制出新对象列表到ArrayList <p> 不建议使用mapper.mapAsList(Iterable<S>,Class<D>)接口, sourceClass需要反射,实在有点慢
bitchat-core/src/main/java/io/bitchat/lang/BeanMapper.java:66
Method
markOnline
mark this channel with attribute sessionId @param channel the channel
bitchat-server/src/main/java/io/bitchat/server/session/SessionHelper.java:22
Method
newBalancedClient
create a {@link Client} by {@link LoadBalancer} @param loadBalancer the load balancer @return a {@link Client}
bitchat-client/src/main/java/io/bitchat/client/ClientFactory.java:25
Method
newBalancedClient
<p> A Client which connect to server by request the {@link io.bitchat.core.ServerAttr} from a ${@link io.bitchat.core.LoadBalancer} </p> @param loadB
bitchat-client/src/main/java/io/bitchat/client/SimpleClientFactory.java:43
Method
newClient
create a {@link Client} with {@link ServerAttr} @param serverAttr the serverAttr @return a {@link Client}
bitchat-client/src/main/java/io/bitchat/client/ClientFactory.java:17
Method
newClient
<p> A Client which connect to server directly </p> @param serverAttr the serverAttr
bitchat-client/src/main/java/io/bitchat/client/SimpleClientFactory.java:29
Method
newClusterServer
(Integer serverPort, RouterServerAttr routerServerAttr)
bitchat-server/src/main/java/io/bitchat/server/SimpleServerFactory.java:36
Method
newCmdFrame
(String commandName, Object content)
bitchat-core/src/main/java/io/bitchat/ws/FrameFactory.java:27
Method
newCmdPacket
(Command command)
bitchat-core/src/main/java/io/bitchat/packet/factory/PacketFactory.java:31
Method
newCommand
(String commandName)
bitchat-core/src/main/java/io/bitchat/packet/factory/CommandFactory.java:12
Method
newRequest
(String serviceName)
bitchat-core/src/main/java/io/bitchat/packet/factory/RequestFactory.java:12
Method
newServer
(Integer serverPort)
bitchat-server/src/main/java/io/bitchat/server/SimpleServerFactory.java:22
Method
newSession
(String sessionId)
bitchat-server/src/main/java/io/bitchat/server/session/DefaultSessionManager.java:20
Method
newSession
(String sessionId)
bitchat-server/src/main/java/io/bitchat/server/session/AbstractSessionManager.java:26
Method
newSession
()
bitchat-server/src/main/java/io/bitchat/server/session/SessionManager.java:15
Method
nextId
()
bitchat-core/src/main/java/io/bitchat/core/id/SnowflakeIdFactory.java:35
Method
nextId
()
bitchat-core/src/main/java/io/bitchat/core/id/MemoryIdFactory.java:22
Method
operationComplete
(Future<? super Void> future)
bitchat-server/src/main/java/io/bitchat/server/AbstractServer.java:97
Method
operationComplete
(Future<HttpResponse> f)
bitchat-server/src/main/java/io/bitchat/server/http/HttpHandler.java:97
Method
operationComplete
(Future<Packet> f)
bitchat-server/src/main/java/io/bitchat/server/packet/PacketHandler.java:94
Method
operationComplete
(Future<? super Void> f)
bitchat-client/src/main/java/io/bitchat/client/GenericClient.java:67
Method
p2pSessionId
return the session id of p2p chat @param userId one user id @param partnerId another user id @return the session id
bitchat-server/src/main/java/io/bitchat/server/SessionIdKeeper.java:19
Method
param
Extracts the param in {@code pathParams} first, then falls back to the first matching param in {@code queryParams}. @return {@code null} if there's n
bitchat-core/src/main/java/io/bitchat/http/router/RouteResult.java:104
Method
params
Extracts all params in {@code pathParams} and {@code queryParams} matching the name. @return Unmodifiable list; the list is empty if there's no match
bitchat-core/src/main/java/io/bitchat/http/router/RouteResult.java:114
Method
preHandle
pre handle method of the interceptor @param channel the channel @param packet the packet @return the response
bitchat-core/src/main/java/io/bitchat/packet/interceptor/Interceptor.java:24
Method
process
(ChannelHandlerContext ctx, Command request)
bitchat-core/src/main/java/io/bitchat/packet/ctx/CommandProcessorContext.java:50
Method
process
(ChannelHandlerContext ctx, Request request)
bitchat-core/src/main/java/io/bitchat/packet/ctx/RequestProcessorContext.java:54
Method
process
(ChannelHandlerContext ctx, Command command)
bitchat-core/src/main/java/io/bitchat/packet/processor/AbstractCommandProcessor.java:22
Method
process
(ChannelHandlerContext ctx, Request request)
bitchat-core/src/main/java/io/bitchat/packet/processor/AbstractRequestProcessor.java:23
Method
queryParams
Returns all params in the query part of the request URI.
bitchat-core/src/main/java/io/bitchat/http/router/RouteResult.java:77
Method
registerToRouter
()
bitchat-server/src/main/java/io/bitchat/server/ClusterServer.java:30
Method
registerToRouter
()
bitchat-server/src/main/java/io/bitchat/server/StandaloneServer.java:24
Method
removeChannel
(ChannelId channelId)
bitchat-server/src/main/java/io/bitchat/server/channel/DefaultChannelManager.java:43
Method
removePathPattern
Removes the route specified by the path pattern.
bitchat-core/src/main/java/io/bitchat/http/router/MethodlessRouter.java:101
Method
removePathPattern
Removes the route specified by the path pattern.
bitchat-core/src/main/java/io/bitchat/http/router/Router.java:233
Method
removePathPattern
Removes the route specified by the path pattern.
bitchat-core/src/main/java/io/bitchat/http/router/OrderlessRouter.java:83
Method
removeSession
(ChannelId channelId)
bitchat-server/src/main/java/io/bitchat/server/session/AbstractSessionManager.java:56
Method
removeTarget
Removes all routes leading to the target.
bitchat-core/src/main/java/io/bitchat/http/router/MethodlessRouter.java:110
Method
removeTarget
Removes all routes leading to the target.
bitchat-core/src/main/java/io/bitchat/http/router/Router.java:243
Method
removeTarget
Removes all routes leading to the target.
bitchat-core/src/main/java/io/bitchat/http/router/OrderlessRouter.java:97
Method
route
@return {@code null} if no match
bitchat-core/src/main/java/io/bitchat/http/router/MethodlessRouter.java:121
Method
route
@return {@code null} if no match
bitchat-core/src/main/java/io/bitchat/http/router/OrderlessRouter.java:116
Method
run
()
bitchat-core/src/main/java/io/bitchat/http/maker/HtmlMakerFactory.java:74
Method
run
()
bitchat-core/src/main/java/io/bitchat/core/executor/AbstractExecutor.java:42
Method
sendRequest
(Packet request)
bitchat-client/src/main/java/io/bitchat/client/GenericClient.java:83
Method
sendRequest
send request to server @param request the request packet @return the response future
bitchat-client/src/main/java/io/bitchat/client/Client.java:27
Method
serialize
(Object object)
bitchat-core/src/main/java/io/bitchat/serialize/HessianSerializer.java:27
Method
serialize
(Object object)
bitchat-core/src/main/java/io/bitchat/serialize/JdkSerializer.java:20
Method
serialize
(Object object)
bitchat-core/src/main/java/io/bitchat/serialize/FastJsonSerializer.java:20
Method
serialize
(Object object)
bitchat-core/src/main/java/io/bitchat/serialize/KryoSerializer.java:29
Method
serialize
(Object object)
bitchat-core/src/main/java/io/bitchat/serialize/ProtoStuffSerializer.java:33
Method
sessionId
()
bitchat-server/src/main/java/io/bitchat/server/session/DefaultSession.java:31
Method
sessions
()
bitchat-server/src/main/java/io/bitchat/server/rest/StatusController.java:32
Method
setContext
(ChannelHandlerContext context)
bitchat-core/src/main/java/io/bitchat/http/HttpContext.java:42
Method
setResponse
(HttpResponse response)
bitchat-core/src/main/java/io/bitchat/http/HttpContext.java:47
Method
size
Returns the number of routes in this router.
bitchat-core/src/main/java/io/bitchat/http/router/MethodlessRouter.java:57
Method
speak
transmit a command to another Server @param serverAttr the server attr @param packet the request packet @return the response packet
bitchat-server/src/main/java/io/bitchat/server/ServerSpeaker.java:22
Method
start
(Integer serverPort)
bitchat-server/src/main/java/io/bitchat/server/ServerBootstrap.java:42
Method
start
()
bitchat-server/src/main/java/io/bitchat/server/AbstractServer.java:62
Method
start
start the router server
bitchat-router/src/main/java/io/bitchat/router/RouterServer.java:15
Method
stop
stop the server
bitchat-server/src/main/java/io/bitchat/server/Server.java:29
Method
stop
()
bitchat-server/src/main/java/io/bitchat/server/AbstractServer.java:71
Method
stop
stop the router server
bitchat-router/src/main/java/io/bitchat/router/RouterServer.java:20
Method
testConfig
()
bitchat-core/src/test/java/io/bitchat/lang/config/ConfigTest.java:12
Method
testDeserialize
()
bitchat-core/src/test/java/io/bitchat/core/IdTest.java:27
Method
testDeserialize
()
bitchat-core/src/test/java/io/bitchat/serialize/SerializeTest.java:23
Method
toString
()
bitchat-server/src/main/java/io/bitchat/server/session/DefaultSession.java:80
Method
toString
()
bitchat-server/src/main/java/io/bitchat/server/channel/ChannelWrapper.java:21
Method
toString
()
bitchat-core/src/main/java/io/bitchat/http/ContentType.java:20
Method
toString
()
bitchat-core/src/main/java/io/bitchat/http/router/RouteResult.java:132
Method
uri
Returns the original request URI.
bitchat-core/src/main/java/io/bitchat/http/router/RouteResult.java:56
Method
uri
Given a target and params, this method tries to do the reverse routing and returns the URI. <p>Placeholders in the path pattern will be filled with t
bitchat-core/src/main/java/io/bitchat/http/router/MethodlessRouter.java:162
Method
uri
Given a target and params, this method tries to do the reverse routing and returns the URI. <p>Placeholders in the path pattern will be filled with t
bitchat-core/src/main/java/io/bitchat/http/router/OrderlessRouter.java:165
Method
userId
()
bitchat-server/src/main/java/io/bitchat/server/session/DefaultSession.java:48
Method
writeAndFlush
(Object msg)
bitchat-server/src/main/java/io/bitchat/server/session/DefaultSession.java:72
← previous
401–488 of 488, ranked by callers