Package

xitrum.handler

inbound

Permalink

package inbound

Visibility
  1. Public
  2. All

Type Members

  1. class BadClientSilencer extends SimpleChannelInboundHandler[Any]

    Permalink

    This handler should be put at the last position of the inbound pipeline to catch all exception caused by bad client (closed connection, malformed request etc.).

    This handler should be put at the last position of the inbound pipeline to catch all exception caused by bad client (closed connection, malformed request etc.).

    Annotations
    @Sharable()
  2. class BaseUrlRemover extends SimpleChannelInboundHandler[HandlerEnv]

    Permalink
    Annotations
    @Sharable()
  3. class BasicAuth extends SimpleChannelInboundHandler[HandlerEnv]

    Permalink
    Annotations
    @Sharable()
  4. class Dispatcher extends SimpleChannelInboundHandler[HandlerEnv]

    Permalink
    Annotations
    @Sharable()
  5. class FlashSocketPolicyHandler extends SimpleChannelInboundHandler[ByteBuf]

    Permalink
  6. class MethodOverrider extends SimpleChannelInboundHandler[HandlerEnv]

    Permalink

    If the real request method is POST and "_method" param exists, the "_method" param will override the POST method.

    If the real request method is POST and "_method" param exists, the "_method" param will override the POST method.

    Annotations
    @Sharable()
  7. class PublicFileServer extends SimpleChannelInboundHandler[HandlerEnv]

    Permalink

    Serves static files in "public" directory.

    Serves static files in "public" directory. See DefaultHttpChannelInitializer, this handler is put after XSendFile.

    Annotations
    @Sharable()
  8. class Request2Env extends SimpleChannelInboundHandler[HttpObject]

    Permalink

    This handler converts request with its content body (if any, e.g.

    This handler converts request with its content body (if any, e.g. in case of file upload) to HandlerEnv, and send it upstream to the next handler.

  9. class UriParser extends SimpleChannelInboundHandler[HandlerEnv]

    Permalink
    Annotations
    @Sharable()
  10. class WebJarsServer extends SimpleChannelInboundHandler[HandlerEnv]

    Permalink

    Routes /webjars/xxx URL to resources in classpath: http://www.webjars.org/contributing See DefaultHttpChannelInitializer, this handler is put after XSendResource.

    Routes /webjars/xxx URL to resources in classpath: http://www.webjars.org/contributing See DefaultHttpChannelInitializer, this handler is put after XSendResource.

    Annotations
    @Sharable()
  11. class WebSocketEventDispatcher extends SimpleChannelInboundHandler[WebSocketFrame]

    Permalink

    See https://github.com/netty/netty/blob/master/example/src/main/java/io/netty/example/http/websocketx/server/WebSocketServerHandler.java

Ungrouped