public class FeignUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
readHeader(feign.Response response,
String name)
Return the value of an HTTP request header.
|
static feign.Response |
removeHeader(feign.Response response,
String name)
Delete an HTTP response header.
|
static void |
updateHeader(feign.RequestTemplate request,
String name,
String value)
Update the value of an HTTP request header.
|
static feign.Response |
updateHeader(feign.Response response,
String name,
String value)
Update the value of an HTTP response header and return the updated response.
|
public static String readHeader(feign.Response response, String name)
public static feign.Response removeHeader(feign.Response response,
String name)
public static void updateHeader(feign.RequestTemplate request,
String name,
String value)
Copyright © 2021. All rights reserved.