- java.lang.Object
-
- org.redkale.boot.NodeServer
-
- org.redkale.boot.NodeHttpServer
-
- 直接已知子类:
NodeWatchServer
@NodeProtocol("HTTP") public class NodeHttpServer extends NodeServer
HTTP Server节点的配置Server详情见: https://redkale.org
- 作者:
- zhangjx
-
-
字段概要
字段 修饰符和类型 字段 说明 protected HttpServer
httpServer
protected boolean
rest
protected ClassFilter<? extends WebSocket>
webSocketFilter
-
从类继承的字段 org.redkale.boot.NodeServer
application, dynServletMap, interceptor, LINE_SEPARATOR, localServices, logger, messageAgents, remoteServices, resourceFactory, server, serverClassLoader, serverConf, serverThread, servletServices, sncpClient, sncpGroup, sncpRemoteAgents, threadName
-
-
构造器概要
构造器 构造器 说明 NodeHttpServer(Application application, AnyValue serconf)
-
方法概要
-
从类继承的方法 org.redkale.boot.NodeServer
acceptsComponent, command, create, createClassFilter, getApplication, getLocalServices, getLogger, getMessageAgent, getRemoteServices, getResourceFactory, getServer, getServerClassLoader, getServerConf, getServletServices, getSncpAddress, getSncpGroup, getThreadName, init, interceptComponent, isSNCP, isWATCH, postStartServer, preDestroyServices, preInitServices, setServerClassLoader, shutdown, start
-
-
-
-
字段详细资料
-
rest
protected final boolean rest
-
httpServer
protected final HttpServer httpServer
-
webSocketFilter
protected ClassFilter<? extends WebSocket> webSocketFilter
-
-
构造器详细资料
-
NodeHttpServer
public NodeHttpServer(Application application, AnyValue serconf)
-
-
方法详细资料
-
getHttpServer
public HttpServer getHttpServer()
-
getSocketAddress
public InetSocketAddress getSocketAddress()
- 指定者:
getSocketAddress
在类中NodeServer
-
createServiceClassFilter
protected ClassFilter<Service> createServiceClassFilter()
- 覆盖:
createServiceClassFilter
在类中NodeServer
-
createFilterClassFilter
protected ClassFilter<Filter> createFilterClassFilter()
- 指定者:
createFilterClassFilter
在类中NodeServer
-
createServletClassFilter
protected ClassFilter<Servlet> createServletClassFilter()
- 指定者:
createServletClassFilter
在类中NodeServer
-
createOtherClassFilters
protected List<ClassFilter> createOtherClassFilters()
- 覆盖:
createOtherClassFilters
在类中NodeServer
-
loadOthers
protected void loadOthers(List<ClassFilter> otherFilters) throws Exception
- 覆盖:
loadOthers
在类中NodeServer
- 抛出:
Exception
-
loadService
protected void loadService(ClassFilter<? extends Service> serviceFilter) throws Exception
- 覆盖:
loadService
在类中NodeServer
- 抛出:
Exception
-
loadFilter
protected void loadFilter(ClassFilter<? extends Filter> filterFilter) throws Exception
- 指定者:
loadFilter
在类中NodeServer
- 抛出:
Exception
-
loadServlet
protected void loadServlet(ClassFilter<? extends Servlet> servletFilter) throws Exception
- 指定者:
loadServlet
在类中NodeServer
- 抛出:
Exception
-
loadHttpFilter
protected void loadHttpFilter(ClassFilter<? extends Filter> classFilter) throws Exception
- 抛出:
Exception
-
loadHttpServlet
protected void loadHttpServlet(ClassFilter<? extends Servlet> servletFilter) throws Exception
- 抛出:
Exception
-
loadRestServlet
protected void loadRestServlet(ClassFilter<? extends WebSocket> webSocketFilter, AnyValue restConf, List<Object> restedObjects, ReentrantLock restedLock, StringBuilder sb, CopyOnWriteArrayList<AbstractMap.SimpleEntry<String,String[]>> rests, CopyOnWriteArrayList<AbstractMap.SimpleEntry<String,String[]>> webss) throws Exception
- 抛出:
Exception
-
postLoadServlets
protected void postLoadServlets()
- 覆盖:
postLoadServlets
在类中NodeServer
-
afterClusterDeregisterOnPreDestroyServices
protected void afterClusterDeregisterOnPreDestroyServices(ClusterAgent cluster, String protocol)
-
-