163java
About 43 results
  1. Scala Netty ByteToMessageDecoder subclass remove bytes from input and pass to next pipeline level

    http://stackoverflow.com/questions/33305290/scala-netty-bytetomessagedecoder-subclass-remove-bytes-from-input-and-pass-to-ne
    up vote 0 down vote favorite I am trying to implement a netty decoder for a stream of bytes received on TCP. This is the current implementation: import io.netty
  2. Error when trying to use WebSockets on JBOSS with Jetty 8.1.8 & Netty 3.2.7

    http://stackoverflow.com/questions/15874652/error-when-trying-to-use-websockets-on-jboss-with-jetty-8-1-8-netty-3-2-7
    up vote 0 down vote favorite I have tried to create a websocket servlet on JBOSS with Jetty 8.1.8 & Netty 3.2.7 I am using a client that works with Tomcat so i
  3. java - In netty, is it ok to pass a pooled ByteBuf to another thread?

    http://stackoverflow.com/questions/32544310/in-netty-is-it-ok-to-pass-a-pooled-bytebuf-to-another-thread
    up vote 1 down vote favorite 2 I'm using netty 4.10beta6. In channel A, I read a ByteBuf by overriding channelRead()(which uses a pooled buf allocator by defaul
  4. Netty 实现HTTP文件服务器

    http://www.cnblogs.com/hapjin/p/5364416.html
    2016年04月07日 - 一,需求 文件服务器使用HTTP协议对外提供服务。用户通过浏览器访问文件服务器,首先对URL进行检查,若失败返回403错误;若通过校验,以链接的方式打开当前目录,每个目录或文件都以超链接的形式展现,可递归访问,并下载文件。   二,关键实现代码 ①文件服务器启动类 需要添加的通道处理器如下: @Override
  5. vert.x - vertx NoClassDefFoundError: io/netty/channel/EventLoopGroup

    http://stackoverflow.com/questions/32329891/vertx-noclassdeffounderror-io-netty-channel-eventloopgroup
    up vote 3 down vote favorite 1 this is probably a stupid question, but which jar needs to be referenced besides vertx-core jar in order to run a simple verticle
  6. netty - How to increase default buffersize in AsyncHttpClient?

    http://stackoverflow.com/questions/33868565/how-to-increase-default-buffersize-in-asynchttpclient
    up vote 0 down vote favorite How to increase default buffer size in AsyncHttpClient. I am using following code to read messages from a streaming server(Http lon
  7. Asynch client connection in Netty server handler

    http://stackoverflow.com/questions/9021473/asynch-client-connection-in-netty-server-handler
    up vote 1 down vote favorite I need to open a TCP/IP client connection with my Netty Server business handler. So Receive request on server socket, keep socket o
  8. java - ClosedChannelException observered with netty 3.2.7 and 3.3.1 under load

    http://stackoverflow.com/questions/12560567/closedchannelexception-observered-with-netty-3-2-7-and-3-3-1-under-load
    up vote 3 down vote favorite Every thing is working fine when my netty server is not loaded. But under load it starts to fail. Currently I am using all default
  9. java - Using Async HTTP Client netty client bombs out with high load?

    http://stackoverflow.com/questions/13280043/using-async-http-client-netty-client-bombs-out-with-high-load
    up vote 3 down vote favorite 1 I'm having trouble with some code I'm testing using AsyncHTTPClient. Here is the general config this.config = (new AsyncHttpC
  10. netty - how to deregister a stream when all I have is ChannelHandlerContext

    http://stackoverflow.com/questions/20748888/how-to-deregister-a-stream-when-all-i-have-is-channelhandlercontext
    up vote 1 down vote favorite Is there a way to deregister the reads in netty with the ChannelHandlerContext object? how does one deregister for reads? Our syste