Class HttpTransport

All Implemented Interfaces:
Transport

public class HttpTransport extends AbstractTcpTransport
  • Field Details

    • DEFAULT_MAX_CHUNK_SIZE

      protected static final int DEFAULT_MAX_CHUNK_SIZE
    • enableBulkReceiving

      protected final boolean enableBulkReceiving
    • enableCors

      protected final boolean enableCors
    • maxChunkSize

      protected final int maxChunkSize
  • Constructor Details

  • Method Details

    • parseMaxChunkSize

      protected static int parseMaxChunkSize(Configuration configuration)
      Returns:
      If the configured Max Chunk Size is less than zero, return DEFAULT_MAX_CHUNK_SIZE.
    • getCustomChildChannelHandlers

      protected LinkedHashMap<String,Callable<? extends io.netty.channel.ChannelHandler>> getCustomChildChannelHandlers(MessageInput input)
      Description copied from class: NettyTransport
      Subclasses can override this to modify the channel handlers at the end of the pipeline for child channels.
      Overrides:
      getCustomChildChannelHandlers in class NettyTransport
      Parameters:
      input - The MessageInput for which these child channel handlers are being added
      Returns:
      list of custom channel handlers to add to the Netty channel pipeline for child channels