public class PrintCurlClientHttpRequestInterceptor extends Object implements org.springframework.http.client.ClientHttpRequestInterceptor
| 限定符和类型 | 类和说明 |
|---|---|
static class |
PrintCurlClientHttpRequestInterceptor.CBody |
static class |
PrintCurlClientHttpRequestInterceptor.CHead |
static class |
PrintCurlClientHttpRequestInterceptor.CMethod |
static interface |
PrintCurlClientHttpRequestInterceptor.CObj |
static class |
PrintCurlClientHttpRequestInterceptor.CUrl |
static class |
PrintCurlClientHttpRequestInterceptor.PrintCurlInterceptorBuilder |
| 构造器和说明 |
|---|
PrintCurlClientHttpRequestInterceptor() |
| 限定符和类型 | 方法和说明 |
|---|---|
static PrintCurlClientHttpRequestInterceptor.PrintCurlInterceptorBuilder |
builder() |
org.springframework.http.client.ClientHttpResponse |
intercept(org.springframework.http.HttpRequest request,
byte[] body,
org.springframework.http.client.ClientHttpRequestExecution execution) |
void |
printCurl(org.springframework.http.HttpRequest request,
byte[] body) |
public static PrintCurlClientHttpRequestInterceptor.PrintCurlInterceptorBuilder builder()
public org.springframework.http.client.ClientHttpResponse intercept(org.springframework.http.HttpRequest request,
byte[] body,
org.springframework.http.client.ClientHttpRequestExecution execution)
throws IOException
intercept 在接口中 org.springframework.http.client.ClientHttpRequestInterceptorIOExceptionpublic void printCurl(org.springframework.http.HttpRequest request,
byte[] body)
Copyright © 2021. All rights reserved.