Interface HttpEntityConnection

All Superinterfaces:
AutoCloseable, is.codion.framework.db.EntityConnection

public interface HttpEntityConnection extends is.codion.framework.db.EntityConnection
A factory for http based EntityConnection builder.
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Builds a http based EntityConnection

    Nested classes/interfaces inherited from interface is.codion.framework.db.EntityConnection

    is.codion.framework.db.EntityConnection.BatchCopy, is.codion.framework.db.EntityConnection.BatchInsert, is.codion.framework.db.EntityConnection.Count, is.codion.framework.db.EntityConnection.Select, is.codion.framework.db.EntityConnection.Transactional, is.codion.framework.db.EntityConnection.TransactionalResult<T extends Object>, is.codion.framework.db.EntityConnection.Update
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final is.codion.common.property.PropertyValue<Integer>
    The connect timeout in milliseconds Value type: Integer Default value: 2000 ms
    static final is.codion.common.property.PropertyValue<String>
    The host on which to locate the http server Value type: String Default value: localhost
    static final is.codion.common.property.PropertyValue<Boolean>
    Specifies whether json serialization should be used Value types: Boolean Default value: true
    static final is.codion.common.property.PropertyValue<Integer>
    The port which the http client should use.
    Value type: Integer
    Default value: 8080
    static final is.codion.common.property.PropertyValue<Boolean>
    Specifies whether https should be used Value type: boolean Default value: true
    static final is.codion.common.property.PropertyValue<Integer>
    The port which the https client should use Value type: Integer Default value: 4443
    static final is.codion.common.property.PropertyValue<Integer>
    The socket timeout in milliseconds Value type: Integer Default value: 2000 ms

    Fields inherited from interface is.codion.framework.db.EntityConnection

    DEFAULT_QUERY_TIMEOUT_SECONDS
  • Method Summary

    Static Methods
    Modifier and Type
    Method
    Description
     

    Methods inherited from interface is.codion.framework.db.EntityConnection

    close, commitTransaction, connected, count, delete, delete, delete, dependencies, entities, execute, execute, execute, execute, insert, insert, insertSelect, insertSelect, isQueryCacheEnabled, report, rollbackTransaction, select, select, select, select, select, select, select, selectSingle, selectSingle, setQueryCacheEnabled, startTransaction, transactionOpen, update, update, update, updateSelect, updateSelect, user
  • Field Details

    • HOSTNAME

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

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

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

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

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

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

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