public class ResourceParams extends Object implements ConfigurableResource
| Constructor and Description |
|---|
ResourceParams() |
| Modifier and Type | Method and Description |
|---|---|
CoreInfo |
getCoreInfo() |
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 |
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 setpublic boolean isPut()
isPut in interface ConfigurableResourcepublic void setPut(boolean put)
put - the put to setpublic boolean isDelete()
isDelete in interface ConfigurableResourcepublic void setDelete(boolean delete)
delete - the delete to setpublic boolean isFetch()
isFetch in interface ConfigurableResourcepublic void setFetch(boolean fetch)
fetch - the fetch to setpublic boolean isPatch()
isPatch in interface ConfigurableResourcepublic void setPatch(boolean patch)
patch - the patch to setpublic boolean isIpatch()
isIpatch in interface ConfigurableResourcepublic void setIpatch(boolean ipatch)
ipatch - the ipatch to setpublic boolean isObservable()
isObservable in interface ConfigurableResourcepublic void setObservable(boolean observable)
observable - the observable 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 configuration to set.Copyright © 2019–2024 Teslanet.nl. All rights reserved.