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
FieldsModifier and TypeFieldDescriptionstatic 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
ConstructorsModifierConstructorDescriptionprotected
protected
-
Method Summary
Modifier and TypeMethodDescriptionOptional<org.openremote.model.http.HTTPMethod[]>
setAllowedHTTPMethods
(org.openremote.model.http.HTTPMethod[] value) setAllowedOrigins
(String[] value) setDeploymentPath
(String value) setRoleBasedSecurity
(Boolean 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
-
Field Details
-
DEPLOYMENT_PATH
-
ALLOWED_HTTP_METHODS
public static final org.openremote.model.value.AttributeDescriptor<org.openremote.model.http.HTTPMethod[]> ALLOWED_HTTP_METHODS -
ALLOWED_ORIGINS
-
ROLE_BASED_SECURITY
-
-
Constructor Details
-
AbstractHTTPServerAgent
protected AbstractHTTPServerAgent() -
AbstractHTTPServerAgent
-
-
Method Details
-
getDeploymentPath
-
setDeploymentPath
-
getAllowedHTTPMethods
-
setAllowedHTTPMethods
-
getAllowedOrigins
-
setAllowedOrigins
-
isRoleBasedSecurity
-
setRoleBasedSecurity
-