类的使用
org.redkale.net.http.HttpServlet
-
使用HttpServlet的程序包 程序包 说明 org.redkale.cluster.spi org.redkale.mq.spi org.redkale.net.http HTTP协议包,提供HTTP协议服务器org.redkale.watch 提供Redkale服务的监控、动态部署、数据收集功能 -
-
org.redkale.cluster.spi中HttpServlet的使用
返回HttpServlet的org.redkale.cluster.spi中的方法 修饰符和类型 方法 说明 HttpServlet
HttpLocalRpcClient. findHttpServlet(String topic)
HttpServlet
HttpLocalRpcClient. findHttpServlet(WebRequest request)
-
org.redkale.mq.spi中HttpServlet的使用
参数类型为HttpServlet的org.redkale.mq.spi中的方法 修饰符和类型 方法 说明 void
MessageAgent. putService(NodeHttpServer ns, Service service, HttpServlet servlet)
参数类型为HttpServlet的org.redkale.mq.spi中的构造器 构造器 说明 HttpMessageServlet(MessageClient messageClient, Context context, Service service, HttpServlet servlet, String topic)
-
org.redkale.net.http中HttpServlet的使用
org.redkale.net.http中HttpServlet的子类 修饰符和类型 类 说明 class
HttpResourceServlet
静态资源HttpServletclass
WebSocketServlet
声明为HttpServlet的org.redkale.net.http中的字段 修饰符和类型 字段 说明 protected HttpServlet
HttpDispatcherServlet. resourceHttpServlet
HttpServlet
HttpDispatcherServlet.MappingEntry. servlet
类型参数类型为HttpServlet的org.redkale.net.http中的方法 修饰符和类型 方法 说明 <S extends Service,T extends HttpServlet>
THttpServer. addRestServlet(ClassLoader classLoader, String name, S service, Class userType, Class<T> baseServletType, String prefix)
添加RestServlet<S extends Service,T extends HttpServlet>
THttpServer. addRestServlet(ClassLoader classLoader, S service, Class userType, Class<T> baseServletType, String prefix)
添加RestServletstatic <T extends HttpServlet>
TRest. createRestServlet(ClassLoader classLoader, Class userType0, Class<T> baseServletType, Class<? extends Service> serviceType, String serviceResourceName)
返回HttpServlet的org.redkale.net.http中的方法 修饰符和类型 方法 说明 HttpServlet
HttpDispatcherServlet. findServletByTopic(String topic)
HttpServlet
HttpDispatcherServlet. getResourceServlet()
获取静态资源HttpServletprotected HttpServlet
HttpDispatcherServlet. mappingServlet(String key)
protected HttpServlet
HttpContext.UriPathNode. remove(String key)
<T extends WebSocket>
HttpServletHttpDispatcherServlet. removeHttpServlet(Class<T> websocketOrServletType)
HttpServlet
HttpDispatcherServlet. removeHttpServlet(HttpServlet servlet)
HttpServlet
HttpDispatcherServlet. removeHttpServlet(Service service)
<T extends WebSocket>
HttpServletHttpServer. removeHttpServlet(Class<T> websocketOrServletType)
删除HttpServletHttpServlet
HttpServer. removeHttpServlet(Service service)
删除HttpServlet返回变量类型为HttpServlet的类型的org.redkale.net.http中的方法 修饰符和类型 方法 说明 Stream<HttpServlet>
HttpDispatcherServlet. filterServlets(Predicate<HttpServlet> predicate)
List<HttpServlet>
HttpServer. getHttpServlets()
protected ByteTreeNode<HttpServlet>
HttpContext.UriPathNode. put(String key, HttpServlet servlet)
参数类型为HttpServlet的org.redkale.net.http中的方法 修饰符和类型 方法 说明 HttpServer
HttpServer. addHttpServlet(String mapping, HttpServlet servlet)
添加HttpServletHttpServer
HttpServer. addHttpServlet(String prefix, HttpServlet servlet, String... mappings)
添加HttpServletHttpServer
HttpServer. addHttpServlet(HttpServlet servlet, String... mappings)
添加HttpServletHttpServer
HttpServer. addHttpServlet(HttpServlet servlet, String prefix, AnyValue conf, String... mappings)
添加HttpServletvoid
HttpDispatcherServlet. addServlet(HttpServlet servlet, Object prefix, AnyValue conf, String... mappingPaths)
添加HttpServletprotected void
HttpDispatcherServlet. doAfterRemove(HttpServlet servlet)
static Service
Rest. getService(HttpServlet servlet)
获取Rest动态生成HttpServlet里的Service对象,若不是Rest动态生成的HttpServlet,返回nullstatic Map<String,Service>
Rest. getServiceMap(HttpServlet servlet)
static boolean
Rest. isRestDyn(HttpServlet servlet)
判断HttpServlet是否为Rest动态生成的protected ByteTreeNode<HttpServlet>
HttpContext.UriPathNode. put(String key, HttpServlet servlet)
HttpServlet
HttpDispatcherServlet. removeHttpServlet(HttpServlet servlet)
void
HttpDispatcherServlet. setResourceServlet(HttpServlet servlet)
设置静态资源HttpServletstatic void
Rest. setServiceMap(HttpServlet servlet, Map<String,Service> map)
类型变量类型为HttpServlet的org.redkale.net.http中的方法参数 修饰符和类型 方法 说明 Stream<HttpServlet>
HttpDispatcherServlet. filterServlets(Predicate<HttpServlet> predicate)
参数类型为HttpServlet的org.redkale.net.http中的构造器 构造器 说明 ActionEntry(int moduleid, int actionid, String name, String[] methods, Method method, boolean rpcOnly, boolean auth, int cacheSeconds, HttpServlet servlet)
MappingEntry(String mapping, Predicate<String> predicate, HttpServlet servlet)
-
org.redkale.watch中HttpServlet的使用
org.redkale.watch中HttpServlet的子类 修饰符和类型 类 说明 class
WatchServlet
详情见: https://redkale.org
-