Interface HttpEntityConnection

All Superinterfaces:
AutoCloseable, EntityConnection

public interface HttpEntityConnection extends EntityConnection
A factory for http based EntityConnection builder.
See Also:
  • Field Details

    • HOSTNAME

      static final PropertyValue<String> HOSTNAME
      The host on which to locate the http server
      Value type: String
      Default value: localhost
    • PORT

      static final PropertyValue<Integer> PORT
      The port which the http client should use.
      Value type: Integer
      Default value: 8080
    • SECURE_PORT

      static final PropertyValue<Integer> SECURE_PORT
      The port which the https client should use.
      Value type: Integer
      Default value: 4443
    • SECURE

      static final PropertyValue<Boolean> SECURE
      Specifies whether https should be used.
      Value type: boolean
      Default value: true
    • JSON

      static final PropertyValue<Boolean> JSON
      Specifies whether json serialization should be used.
      Value types: Boolean
      Default value: true
    • SOCKET_TIMEOUT

      static final PropertyValue<Integer> SOCKET_TIMEOUT
      The socket timeout in milliseconds.
      Value type: Integer
      Default value: 2000 ms
    • CONNECT_TIMEOUT

      static final PropertyValue<Integer> CONNECT_TIMEOUT
      The connect timeout in milliseconds.
      Value type: Integer
      Default value: 2000 ms
  • Method Details