public class ResourceParams extends Object implements ConfigurableResource
| Constructor and Description |
|---|
ResourceParams() |
| Modifier and Type | Method and Description |
|---|---|
CoreInfo |
getCoreInfo() |
NewSubResource |
getNewSubResource() |
String |
getResourcePath() |
boolean |
isDelete() |
boolean |
isEarlyAck() |
boolean |
isFetch() |
boolean |
isGet() |
boolean |
isIpatch() |
boolean |
isObservable() |
boolean |
isPatch() |
boolean |
isPost() |
boolean |
isPut() |
void |
setCoreInfo(ResourceInfoParams coreInfo) |
void |
setDelete(boolean delete) |
void |
setEarlyAck(boolean earlyAck) |
void |
setFetch(boolean fetch) |
void |
setGet(boolean get) |
void |
setIpatch(boolean ipatch) |
void |
setNewSubResource(NewSubResource newSubresource) |
void |
setObservable(boolean observable) |
void |
setPatch(boolean patch) |
void |
setPost(boolean post) |
void |
setPut(boolean put) |
void |
setResourcePath(String resourcePath) |
String |
toString()
The string representation.
|
public String getResourcePath()
public void setResourcePath(String resourcePath)
resourcePath - the absolute path of the resource to set.public boolean isGet()
isGet in interface ConfigurableResourcepublic void setGet(boolean get)
get - the get to setpublic boolean isPost()
isPost in interface ConfigurableResourcepublic void setPost(boolean post)
post - The post to set.public boolean isPut()
isPut in interface ConfigurableResourcepublic void setPut(boolean put)
put - The put to set.public boolean isDelete()
isDelete in interface ConfigurableResourcepublic void setDelete(boolean delete)
delete - The delete to set.public boolean isFetch()
isFetch in interface ConfigurableResourcepublic void setFetch(boolean fetch)
fetch - The fetch to set.public boolean isPatch()
isPatch in interface ConfigurableResourcepublic void setPatch(boolean patch)
patch - The patch to set.public boolean isIpatch()
isIpatch in interface ConfigurableResourcepublic void setIpatch(boolean ipatch)
ipatch - The ipatch to set.public boolean isObservable()
isObservable in interface ConfigurableResourcepublic void setObservable(boolean observable)
observable - The observable flag to set.public boolean isEarlyAck()
isEarlyAck in interface ConfigurableResourcepublic void setEarlyAck(boolean earlyAck)
earlyAck - The earlyAck to set.public CoreInfo getCoreInfo()
getCoreInfo in interface ConfigurableResourcepublic void setCoreInfo(ResourceInfoParams coreInfo)
coreInfo - The CoRE info parameters to set.public NewSubResource getNewSubResource()
getNewSubResource in interface ConfigurableResourcepublic void setNewSubResource(NewSubResource newSubresource)
newSubresource - The new-sub-resource parameters to set.Copyright © 2019–2025 Teslanet.nl. All rights reserved.