文章
RESTful API中跨域问题
此文讲解在RESTfulAPI中跨域问题在项目中如何处理的!CORS是CrossOriginResourceSharing的缩写,定义了浏览器和服务器间共享内容的新方式,通过它浏览器和服务器可以安全地进行跨域访问,它是JSONP的现代继任者。服务器上的CORS配置可以精
NettyClient端调用remote service的方式
序使用netty开发rpc的话,对于client端来说,面临的一个问题就是client如何方便地对远程服务进行调用。java的rmi通过代理模式给了很好的实例,通过代理,使得调用远程服务像调用本地服务一样,对使用者来说,非常简便。对于发布的服务,使用java的接口暴露给使用者,使用者引入
分享自己做的一个JAVA RPC 框架 longio
longiolongio是一个支持同步和异步调用,并且支持客户端负载均衡,服务发现的RPC框架,底层基于netty,传输层支持websocket,http和原始socket,序列化层支持JSON,MessagePack,protobuf,支持服务端推送消息和客户端对推送消息的路由功能。
Netty in Action笔记(Chapter 8)Provided ChannelHandlers and codecs
【8.1SecuringNettyapplicationswithSSL/TLS】【8.3Handlingidleconnectionsandtimeouts】Youmayfindtimeswhenyouwanttohandleidleconnection
Netty in Action(Chapter 13)Broadcasting events via UDP
ThankstoitsunifiedTransportAPI,NettymakeswritingUDPbasedapplicationseasyastakingabreath.ThisallowsyoutoreuseexistingChannelHand
Netty in Action笔记(Chapter 9)Bootstraping Netty applications
EventLoopandEventLoopGroupRemembertheEventLoopthatisassignedtotheChannelisresponsibletohandlealltheoperationsfortheChannel.Which
Netty in Action笔记(Chapter 7) Codec
【7.1codec】Wheneveryouwriteanetworkbasedprogram,youllneedtoimplementsomekindofcodec.Thecodecdefineshowtherawbytesneedtobepars
Netty in Action笔记(Chapter 6)ChannelHandler
WhatmakesChannelHandlerevenmorepowerfulisthatyoucanchainthemsoeachChannelHandlerimplementationcanfulfillsmalltasks.Thishelpsyou
Netty in Action笔记(Chapter 5)Buffers
【Chapter5Buffers】NettysbufferAPIhastwointerfaces:ByteBufByteBufHolderNettyusesreferencecountingtoknowwhenitssafetorelease
Netty in Action笔记(Chapter 4)Transport
Oneofthemostimportanttasksofanetworkapplicationistransferringdata.Thiscanbedonedifferentlydependingonthekindoftransportused,b
已加载文章中没有匹配内容,试试其他关键词或清空搜索。