English 中文(简体)
如何应对在教育、科学和技术领域完成某些工作所需要的时间?
原标题:How to deal with time it takes to finish something in REST?

利用泽西岛/日本宇宙航空研究开发机构 我有一部手提器,其中载有向另一个地点复制大宗档案的代码。 我想能够去看一下复印件的目前状况(即时间已过)。 我如何做到这一点?

最佳回答

哪一方? 发送人或接收人?

作为请求的一部分,发送人可能会暴露出某种联系或内容。

可以说,你可以做这样的事情。

POST接收器/foo/inbe

<incoming-foo>
    <link rel="status" uri="sender/foo/abc/status">
</incoming-foo>

接收器可能 201 或303 。

当时

GET 接收器/foo/1

仅可以恢复规定的地位联系,或将其纳入代表:

<foo>
    <status>incoming</status>
    <link rel="status" href="sender/foo/abc/status" />
</foo>

GET ender/f/ab

此时,“待决”或“被征服”或类似情况。

......

之后,女方可以自由使用。

PUT接收器/foo/1

<foo>
    <content>......</content>
</foo>

在中央直辖区期间,作为GET服务单位,GET从原产地服务处获得的地位,这种地位现在可能是“发送”或包括 by/总数等。

问题回答

如果我正确理解你的话,我会假设,因为这是一项长期运作,使最初的《名册》返回了202个,而地点负责人或内容机构与复印业务状况页的联系将是一个好的做法。 然后,客户可以定期获得URL的地位,如果服务器填写该副本,GET可以使用303或某种机制重新找到新创建的档案。

Hope that helps!





相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签