org.redkale.boot

## 类 NodeHttpServer

- java.lang.Object
- - org.redkale.boot.NodeServer
  - - org.redkale.boot.NodeHttpServer

-     @NodeProtocol(value="HTTP")
      public class NodeHttpServer
      extends NodeServer

  HTTP Server节点的配置Server

  详情见: https://redkale.org

- - ### 字段概要

    字段
    限定符和类型 | 字段和说明
    --- | ---
    `protected HttpServer` | `httpServer`
    `protected boolean` | `rest`

    - ### 从类继承的字段 org.redkale.boot.NodeServer

      `application, consumer, fine, finer, finest, interceptor, interceptorServiceWrappers, LINE_SEPARATOR, localServiceWrappers, logger, remoteServiceWrappers, resourceFactory, server, serverConf`

  - ### 构造器概要

    构造器
    构造器和说明
    `NodeHttpServer(Application application, AnyValue serconf)`

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `protected ClassFilter<Servlet>` | `createServletClassFilter()`
    `java.net.InetSocketAddress` | `getSocketAddress()`
    `protected void` | `loadHttpServlet(AnyValue servletsConf, ClassFilter<? extends Servlet> filter)`
    `protected void` | `loadRestServlet(java.lang.String prefix, AnyValue restConf)`
    `protected void` | `loadService(ClassFilter serviceFilter)`
    `protected void` | `loadServlet(ClassFilter<? extends Servlet> servletFilter)`

    - ### 从类继承的方法 org.redkale.boot.NodeServer

      `create, createClassFilter, createServiceClassFilter, getExecutor, getInterceptorServiceWrappers, getLocalServiceWrappers, getLogger, getRemoteServiceWrappers, getServer, getServerConf, getSncpAddress, getSncpGroup, init, isSNCP, loadTransport, loadTransport, loadTransports, shutdown, start`

    - ### 从类继承的方法 java.lang.Object

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

- - ### 字段详细资料

    - #### rest

          protected final boolean rest

    - #### httpServer

          protected final HttpServer httpServer

  - ### 构造器详细资料

    - #### NodeHttpServer

          public NodeHttpServer(Application application,
                                AnyValue serconf)

  - ### 方法详细资料

    - #### getSocketAddress

          public java.net.InetSocketAddress getSocketAddress()

      指定者:
        `getSocketAddress` 在类中 `NodeServer`

    - #### createServletClassFilter

          protected ClassFilter<Servlet> createServletClassFilter()

      指定者:
        `createServletClassFilter` 在类中 `NodeServer`

    - #### loadServlet

          protected void loadServlet(ClassFilter<? extends Servlet> servletFilter)
                              throws java.lang.Exception

      指定者:
        `loadServlet` 在类中 `NodeServer`
      抛出:
        `java.lang.Exception`

    - #### loadService

          protected void loadService(ClassFilter serviceFilter)
                              throws java.lang.Exception

      覆盖:
        `loadService` 在类中 `NodeServer`
      抛出:
        `java.lang.Exception`

    - #### loadHttpServlet

          protected void loadHttpServlet(AnyValue servletsConf,
                                         ClassFilter<? extends Servlet> filter)
                                  throws java.lang.Exception

      抛出:
        `java.lang.Exception`

    - #### loadRestServlet

          protected void loadRestServlet(java.lang.String prefix,
                                         AnyValue restConf)
                                  throws java.lang.Exception

      抛出:
        `java.lang.Exception`