public class HttpLogOptions extends Object
| 构造器和说明 |
|---|
HttpLogOptions() |
| 限定符和类型 | 方法和说明 |
|---|---|
HttpLogOptions |
addAllowedHeaderName(String allowedHeaderName) |
HttpLogOptions |
addAllowedQueryParamName(String allowedQueryParamName) |
Set<String> |
getAllowedHeaderNames() |
Set<String> |
getAllowedQueryParamNames() |
HttpLogDetailLevel |
getLogLevel() |
boolean |
isPrettyPrintBody() |
HttpLogOptions |
setAllowedHeaderNames(Set<String> allowedHeaderNames) |
HttpLogOptions |
setAllowedQueryParamNames(Set<String> allowedQueryParamNames) |
HttpLogOptions |
setLogLevel(HttpLogDetailLevel logLevel) |
HttpLogOptions |
setPrettyPrintBody(boolean prettyPrintBody) |
public HttpLogDetailLevel getLogLevel()
public HttpLogOptions setLogLevel(HttpLogDetailLevel logLevel)
public HttpLogOptions setAllowedHeaderNames(Set<String> allowedHeaderNames)
public HttpLogOptions addAllowedHeaderName(String allowedHeaderName)
public HttpLogOptions setAllowedQueryParamNames(Set<String> allowedQueryParamNames)
public HttpLogOptions addAllowedQueryParamName(String allowedQueryParamName)
public boolean isPrettyPrintBody()
public HttpLogOptions setPrettyPrintBody(boolean prettyPrintBody)
Copyright © 2024. All rights reserved.