Class HttpAppender.Builder<B extends HttpAppender.Builder<B>>

Type Parameters:
B - The type to build
All Implemented Interfaces:
Builder<HttpAppender>
Enclosing class:
HttpAppender

public static class HttpAppender.Builder<B extends HttpAppender.Builder<B>> extends AbstractAppender.Builder<B> implements Builder<HttpAppender>
Builds HttpAppender instances.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

      public HttpAppender build()
      Description copied from interface: Builder
      Builds the object after all configuration has been set. This will use default values for any unspecified attributes for the object.
      Specified by:
      build in interface Builder<B extends HttpAppender.Builder<B>>
      Returns:
      the configured instance.
    • getUrl

      public URL getUrl()
    • getMethod

      public String getMethod()
    • getConnectTimeoutMillis

      public int getConnectTimeoutMillis()
    • getReadTimeoutMillis

      public int getReadTimeoutMillis()
    • getHeaders

      public Property[] getHeaders()
    • getSslConfiguration

      public SslConfiguration getSslConfiguration()
    • isVerifyHostname

      public boolean isVerifyHostname()
    • setUrl

      public B setUrl(URL url)
    • setMethod

      public B setMethod(String method)
    • setConnectTimeoutMillis

      public B setConnectTimeoutMillis(int connectTimeoutMillis)
    • setReadTimeoutMillis

      public B setReadTimeoutMillis(int readTimeoutMillis)
    • setHeaders

      public B setHeaders(Property[] headers)
    • setSslConfiguration

      public B setSslConfiguration(SslConfiguration sslConfiguration)
    • setVerifyHostname

      public B setVerifyHostname(boolean verifyHostname)