Class AbstractHTTPServerAgent<T extends AbstractHTTPServerAgent<T,U,V>,U extends AbstractHTTPServerProtocol<U,T,V>,V extends org.openremote.model.asset.agent.AgentLink<?>>

java.lang.Object
org.openremote.model.asset.Asset<T>
org.openremote.model.asset.agent.Agent<T,U,V>
org.openremote.agent.protocol.http.AbstractHTTPServerAgent<T,U,V>
All Implemented Interfaces:
org.openremote.model.asset.AssetInfo, org.openremote.model.IdentifiableEntity<T>

public abstract class AbstractHTTPServerAgent<T extends AbstractHTTPServerAgent<T,U,V>,U extends AbstractHTTPServerProtocol<U,T,V>,V extends org.openremote.model.asset.agent.AgentLink<?>> extends org.openremote.model.asset.agent.Agent<T,U,V>
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.openremote.model.asset.Asset

    org.openremote.model.asset.Asset.AssetDeserializer
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.openremote.model.value.AttributeDescriptor<org.openremote.model.http.HTTPMethod[]>
     
    static final org.openremote.model.value.AttributeDescriptor<String[]>
     
    static final org.openremote.model.value.AttributeDescriptor<String>
     
    static final org.openremote.model.value.AttributeDescriptor<Boolean>
     

    Fields inherited from class org.openremote.model.asset.agent.Agent

    BIND_HOST, BIND_PORT, DISABLED, HOST, MESSAGE_CHARSET, MESSAGE_CONVERT_BINARY, MESSAGE_CONVERT_HEX, MESSAGE_DELIMITERS, MESSAGE_MAX_LENGTH, MESSAGE_STRIP_DELIMITER, OAUTH_GRANT, POLLING_MILLIS, PORT, SERIAL_BAUDRATE, SERIAL_PORT, STATUS, UPDATE_ON_WRITE, USERNAME_AND_PASSWORD

    Fields inherited from class org.openremote.model.asset.Asset

    accessPublicRead, attributes, createdOn, EMAIL, id, LOCATION, MANUFACTURER, MODEL, name, NOTES, parentId, path, realm, TAGS, type, version
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional<org.openremote.model.http.HTTPMethod[]>
     
     
     
     
    setAllowedHTTPMethods(org.openremote.model.http.HTTPMethod[] value)
     
     
     
     

    Methods inherited from class org.openremote.model.asset.agent.Agent

    getAgentLink, getAgentStatus, getBindHost, getBindPort, getHost, getOAuthGrant, getPollingMillis, getPort, getProtocolInstance, getSerialBaudrate, getSerialPort, getUsernamePassword, isConfigurationAttribute, isDisabled, isUpdateOnWrite, setBindHost, setBindPort, setDisabled, setHost, setOAuthGrant, setPort, setSerialBaudrate, setSerialPort, setUpdateOnWrite, setUsernamePassword

    Methods inherited from class org.openremote.model.asset.Asset

    addAttributes, addOrReplaceAttributes, getAssetClass, getAssetName, getAssetType, getAttribute, getAttribute, getAttributeNames, getAttributes, getAttributesString, getCreatedOn, getEmail, getId, getLocation, getManufacturer, getMetaString, getModel, getName, getNotes, getParentId, getPath, getRealm, getTags, getType, getVersion, hasAttribute, hasAttribute, isAccessPublicRead, pathContains, postLoadCallback, setAccessPublicRead, setAttributes, setAttributes, setAttributes, setCreatedOn, setEmail, setId, setLocation, setManufacturer, setModel, setName, setNotes, setParent, setParentId, setRealm, setTags, setVersion, toString, toStringAll

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • DEPLOYMENT_PATH

      public static final org.openremote.model.value.AttributeDescriptor<String> DEPLOYMENT_PATH
    • ALLOWED_HTTP_METHODS

      public static final org.openremote.model.value.AttributeDescriptor<org.openremote.model.http.HTTPMethod[]> ALLOWED_HTTP_METHODS
    • ALLOWED_ORIGINS

      public static final org.openremote.model.value.AttributeDescriptor<String[]> ALLOWED_ORIGINS
    • ROLE_BASED_SECURITY

      public static final org.openremote.model.value.AttributeDescriptor<Boolean> ROLE_BASED_SECURITY
  • Constructor Details

    • AbstractHTTPServerAgent

      protected AbstractHTTPServerAgent()
    • AbstractHTTPServerAgent

      protected AbstractHTTPServerAgent(String name)
  • Method Details

    • getDeploymentPath

      public Optional<String> getDeploymentPath()
    • setDeploymentPath

      public T setDeploymentPath(String value)
    • getAllowedHTTPMethods

      public Optional<org.openremote.model.http.HTTPMethod[]> getAllowedHTTPMethods()
    • setAllowedHTTPMethods

      public T setAllowedHTTPMethods(org.openremote.model.http.HTTPMethod[] value)
    • getAllowedOrigins

      public Optional<String[]> getAllowedOrigins()
    • setAllowedOrigins

      public T setAllowedOrigins(String[] value)
    • isRoleBasedSecurity

      public Optional<Boolean> isRoleBasedSecurity()
    • setRoleBasedSecurity

      public T setRoleBasedSecurity(Boolean value)