public class ResourceInfo
extends java.lang.Object
implements java.io.Serializable
结果资源信息类。
所有对象在服务器都是以资源的形式存储,每个资源会有一个唯一标识的 ID,同时还有一个该资源在服务器存储的位置,即 URL。用户可以设置REST接口的所有临时资源的存活时间,默认为7天。详情请见SuperMap iServer 7C帮助文档(iServer REST API > 临时资源的生命周期)。
限定符和类型 | 字段和说明 |
---|---|
java.lang.String |
newResourceID
获取或设置资源的 ID 。
|
java.lang.String |
newResourceLocation
获取或设置资源的 URL。
|
PostResultType |
postResultType
POST 请求的结果类型。
|
java.lang.Boolean |
succeed
获取或设置资源创建是否成功。
|
构造器和说明 |
---|
ResourceInfo() |
public java.lang.Boolean succeed
获取或设置资源创建是否成功。
public java.lang.String newResourceLocation
获取或设置资源的 URL。
public java.lang.String newResourceID
获取或设置资源的 ID 。
public PostResultType postResultType
POST 请求的结果类型。说明 POST 请求对目标资源的影响,即处理结果是什么样的。