netty-http-client:Java中的一个异步http客户端,它使用Netty 4.x,具有基于回调的干净API

上传者: 42140710 | 上传时间: 2022-11-17 13:20:39 | 文件大小: 117KB | 文件类型: ZIP
Netty HTTP客户端 使用Netty 4.x的Java异步HTTP客户端,具有干净的,基于回调的API。 该API受到 http模块的启发; 它旨在(主要)避免使用Future模式,并通过回调来开展业务。 我们尽可能避免引入复杂的抽象,这些抽象试图隐藏HTTP通信的业务。 而是您的代码可以根据需要参与或多或少地参与其中。 您可以Maven项目中使用它。 产品特点 HTTP和HTTPS 简单支持基本身份验证 对HTTP cookie的可选支持 易于设置标题的API类型 流利的构建器API,用于组装请求 非阻塞,异步 小型,低表面积API 对HTTPS的SSLContext / Tr

文件下载

资源详情

[{"title":"( 48 个子文件 117KB ) netty-http-client:Java中的一个异步http客户端,它使用Netty 4.x,具有基于回调的干净API","children":[{"title":"netty-http-client-master","children":[{"title":".gitignore <span style='color:#111;'> 209B </span>","children":null,"spread":false},{"title":"pom.xml <span style='color:#111;'> 1.82KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 7.24KB </span>","children":null,"spread":false},{"title":"netty-http-test-harness","children":[{"title":"src","children":[{"title":"main","children":[{"title":"java","children":[{"title":"com","children":[{"title":"mastfrog","children":[{"title":"netty","children":[{"title":"http","children":[{"title":"test","children":[{"title":"harness","children":[{"title":"TestHarnessModule.java <span style='color:#111;'> 562B </span>","children":null,"spread":false},{"title":"ResettableCountDownLatch.java <span style='color:#111;'> 1.86KB </span>","children":null,"spread":false},{"title":"TestHarness.java <span style='color:#111;'> 45.64KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"pom.xml <span style='color:#111;'> 2.38KB </span>","children":null,"spread":false}],"spread":true},{"title":"netty-http-client-tests","children":[{"title":"nbactions.xml <span style='color:#111;'> 615B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"main","children":[{"title":"resources","children":[{"title":"com","children":[{"title":"timboudreau","children":[{"title":"netty","children":[{"title":"http","children":[{"title":"client","children":[{"title":"tests","children":[{"title":"TestModuleTest.properties <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"java","children":[{"title":"com","children":[{"title":"timboudreau","children":[{"title":"netty","children":[{"title":"http","children":[{"title":"client","children":[{"title":"tests","children":[{"title":"TestModule.java <span style='color:#111;'> 8.90KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"test","children":[{"title":"java","children":[{"title":"com","children":[{"title":"timboudreau","children":[{"title":"netty","children":[{"title":"http","children":[{"title":"client","children":[{"title":"tests","children":[{"title":"TestModuleTest.java <span style='color:#111;'> 7.78KB </span>","children":null,"spread":false},{"title":"RedirectTest.java <span style='color:#111;'> 2.26KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"pom.xml <span style='color:#111;'> 2.18KB </span>","children":null,"spread":false}],"spread":true},{"title":"tiny-http-server","children":[{"title":"src","children":[{"title":"main","children":[{"title":"java","children":[{"title":"com","children":[{"title":"mastfrog","children":[{"title":"tiny","children":[{"title":"http","children":[{"title":"server","children":[{"title":"TinyHttpServer.java <span style='color:#111;'> 8.38KB </span>","children":null,"spread":false},{"title":"ChunkedResponse.java <span style='color:#111;'> 1.59KB </span>","children":null,"spread":false},{"title":"TinyHttpServerInitializer.java <span style='color:#111;'> 2.17KB </span>","children":null,"spread":false},{"title":"ResponseHead.java <span style='color:#111;'> 2.17KB </span>","children":null,"spread":false},{"title":"Responder.java <span style='color:#111;'> 1.64KB </span>","children":null,"spread":false},{"title":"TinyHttpServerHandler.java <span style='color:#111;'> 8.10KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"pom.xml <span style='color:#111;'> 2.33KB </span>","children":null,"spread":false}],"spread":true},{"title":"netty-http-client","children":[{"title":"src","children":[{"title":"main","children":[{"title":"java","children":[{"title":"com","children":[{"title":"mastfrog","children":[{"title":"netty","children":[{"title":"http","children":[{"title":"client","children":[{"title":"NioChannelFactory.java <span style='color:#111;'> 4.06KB </span>","children":null,"spread":false},{"title":"ResponseFuture.java <span style='color:#111;'> 12.28KB </span>","children":null,"spread":false},{"title":"HttpClient.java <span style='color:#111;'> 31.18KB </span>","children":null,"spread":false},{"title":"ChunkedContent.java <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false},{"title":"package.html <span style='color:#111;'> 1.30KB </span>","children":null,"spread":false},{"title":"ActivityMonitor.java <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false},{"title":"Initializer.java <span style='color:#111;'> 3.96KB </span>","children":null,"spread":false},{"title":"State.java <span style='color:#111;'> 6.26KB </span>","children":null,"spread":false},{"title":"HttpRequestBuilder.java <span style='color:#111;'> 7.97KB </span>","children":null,"spread":false},{"title":"MessageHandlerImpl.java <span style='color:#111;'> 15.09KB </span>","children":null,"spread":false},{"title":"StateType.java <span style='color:#111;'> 7.27KB </span>","children":null,"spread":false},{"title":"HandlerEntry.java <span style='color:#111;'> 1.70KB </span>","children":null,"spread":false},{"title":"LocalhostOnlyAddressResolverGroup.java <span style='color:#111;'> 3.45KB </span>","children":null,"spread":false},{"title":"RequestBuilder.java <span style='color:#111;'> 9.88KB </span>","children":null,"spread":false},{"title":"HttpClientBuilder.java <span style='color:#111;'> 15.32KB </span>","children":null,"spread":false},{"title":"ResponseHandler.java <span style='color:#111;'> 5.22KB </span>","children":null,"spread":false},{"title":"RequestInfo.java <span style='color:#111;'> 3.39KB </span>","children":null,"spread":false},{"title":"SslBootstrapCache.java <span style='color:#111;'> 5.08KB </span>","children":null,"spread":false},{"title":"RequestInterceptor.java <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false},{"title":"CookieStore.java <span style='color:#111;'> 15.38KB </span>","children":null,"spread":false},{"title":"RedirectException.java <span style='color:#111;'> 1.63KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"test","children":[{"title":"java","children":[{"title":"com","children":[{"title":"mastfrog","children":[{"title":"netty","children":[{"title":"http","children":[{"title":"client","children":[{"title":"RedirectLoopTest.java <span style='color:#111;'> 4.29KB </span>","children":null,"spread":false},{"title":"DeferredAssertions.java <span style='color:#111;'> 1.94KB </span>","children":null,"spread":false},{"title":"CookieStoreTest.java <span style='color:#111;'> 3.97KB </span>","children":null,"spread":false},{"title":"ConnectionRefusedTest.java <span style='color:#111;'> 4.94KB </span>","children":null,"spread":false},{"title":"HttpClientTest.java <span style='color:#111;'> 20.16KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"test-logging.properties <span style='color:#111;'> 108B </span>","children":null,"spread":false},{"title":"pom.xml <span style='color:#111;'> 6.01KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明