Class RapidoidHttpServerImplementation

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String SYSTEM_PROPERTY_CORE_BUFFER_POOL_MAX_SIZE
      Name of System property to obtain the maximum ThreadLocalStreamBufferPool core pool size.
      static java.lang.String SYSTEM_PROPERTY_STREAM_BUFFER_SIZE
      Name of System property to obtain the pooled StreamBuffer size.
      static java.lang.String SYSTEM_PROPERTY_THREADLOCAL_BUFFER_POOL_MAX_SIZE
      Name of System property to obtain the maximum ThreadLocalStreamBufferPool ThreadLocal pool size.
      • Fields inherited from class org.rapidoid.http.AbstractHttpServer

        CONN_CLOSE_HDR, CONTENT_LENGTH_TXT, CONTENT_TYPE_TXT, DATE_TXT, HTTP_404, HTTP_500, HTTP_PARSER, SERVER_HDR, STATUS_200
      • Fields inherited from interface org.rapidoid.util.Constants

        AMP, ANY, ASTERISK, BYTE_0, COL, CR, CR_, CR_LF, CR_LF_CR_LF, DELETE, EMPTY_ARRAY, EMPTY_STRING_ARRAY, EQ, F, GET, GET_OR_POST, HEAD, HTTP_VERBS, LAST_6, LF, LF_, LF_LF, MALFORMED_CHAR, NOT_FOUND, OPTIONS, PATCH, POST, PUT, SEMI_COL, SEPARATOR_LINE, SPACE, SPACE_, T, TRACE, UTF8_2_BYTES_LEAD, UTF8_3_BYTES_LEAD, UTF8_4_BYTES_LEAD, UTF8_CONTINUATION
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void configureHttpServer​(HttpServerImplementationContext context)
      Configures the HttpServer.
      protected org.rapidoid.http.HttpStatus handle​(org.rapidoid.net.abstracts.Channel ctx, org.rapidoid.buffer.Buf buf, org.rapidoid.net.impl.RapidoidHelper data)  
      void officeFloorClosed​(OfficeFloorEvent event)
      Notifies that the OfficeFloor has been closed.
      void officeFloorOpened​(OfficeFloorEvent event)
      Notifies that the OfficeFloor has been opened.
      • Methods inherited from class org.rapidoid.http.AbstractHttpServer

        binary, createParser, fullResp, html, json, listen, listen, matches, matchesIgnoreCase, ok, ok, plain, process, serializeToJson, startResponse, startResponse, writeBody, writeBody, writeCommonHeaders, writeDateHeader, writeJsonBody
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait