RequestMethod
public enum RequestMethod
源码Source
io/agentscope/runtime/sandbox/manager/remote/RequestMethod.java:21–26定义请求方法相关取值的枚举。位于 io.agentscope.runtime.sandbox.manager.remote 包。核心成员包括 GET、POST、DELETE、HEAD。
Lightweight HTTP method enum to avoid Spring Web dependency.
枚举常量摘要Enum Constant Summary
| 常量Constant | 说明Description |
|---|---|
GET | 按条件读取数据。 Performs the GET operation. |
POST | 执行后置相关操作。 Performs the POST operation. |
DELETE | 删除数据。 Performs the DELETE operation. |
HEAD | 执行 `HEAD` 方法。 Performs the HEAD operation. |
枚举常量详情Enum Constant Detail
GET
GET
staticfinal
按条件读取数据。
Performs the GET operation.
源码Source
io/agentscope/runtime/sandbox/manager/remote/RequestMethod.java:22POST
POST
staticfinal
执行后置相关操作。
Performs the POST operation.
源码Source
io/agentscope/runtime/sandbox/manager/remote/RequestMethod.java:23DELETE
DELETE
staticfinal
删除数据。
Performs the DELETE operation.
源码Source
io/agentscope/runtime/sandbox/manager/remote/RequestMethod.java:24HEAD
HEAD
staticfinal
执行 HEAD 方法。
Performs the HEAD operation.
源码Source
io/agentscope/runtime/sandbox/manager/remote/RequestMethod.java:25