Package io.github.xezzon.zeroweb.call
Class SubscriptionCallController
java.lang.Object
io.github.xezzon.zeroweb.call.SubscriptionCallController
订阅服务调用记录
- Author:
- xezzon
-
Constructor Summary
ConstructorsConstructorDescriptionSubscriptionCallController
(ISubscriptionService4Call subscriptionService, IThirdPartyAppService4Call thirdPartyAppService) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<byte[]>
forwardForSafe
(String openapiCode, byte[] body, String accessKey, Instant timestamp, String signature, org.springframework.http.HttpHeaders headers, jakarta.servlet.http.HttpServletRequest request) 转发 GET 请求org.springframework.http.ResponseEntity<byte[]>
forwardForUnsafe
(String openapiCode, byte[] body, String accessKey, Instant timestamp, String signature, org.springframework.http.HttpHeaders headers, jakarta.servlet.http.HttpServletRequest request) 转发非 GET 请求
-
Constructor Details
-
SubscriptionCallController
public SubscriptionCallController(ISubscriptionService4Call subscriptionService, IThirdPartyAppService4Call thirdPartyAppService)
-
-
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 请求
-