Class SubscriptionCallController

java.lang.Object
io.github.xezzon.zeroweb.call.SubscriptionCallController

@RestController @RequestMapping("/call") public class SubscriptionCallController extends Object
订阅服务调用记录
Author:
xezzon
  • Constructor Details

  • Method Details

    • forwardForSafe

      @GetMapping("/{openapiCode}") public org.springframework.http.ResponseEntity<byte[]> forwardForSafe(@PathVariable String openapiCode, @RequestBody(required=false) byte[] body, @RequestHeader("X-Access-Key") String accessKey, @RequestHeader("X-Timestamp") Instant timestamp, @RequestHeader("X-Signature") String signature, @RequestHeader org.springframework.http.HttpHeaders headers, jakarta.servlet.http.HttpServletRequest request)
      转发 GET 请求
    • forwardForUnsafe

      @RequestMapping(value="/{openapiCode}", method={POST,PUT,DELETE,PATCH}) public org.springframework.http.ResponseEntity<byte[]> forwardForUnsafe(@PathVariable String openapiCode, @RequestBody(required=false) byte[] body, @RequestHeader("X-Access-Key") String accessKey, @RequestHeader("X-Timestamp") Instant timestamp, @RequestHeader("X-Signature") String signature, @RequestHeader org.springframework.http.HttpHeaders headers, jakarta.servlet.http.HttpServletRequest request)
      转发非 GET 请求