public class ExpressionHttpResponseInterceptorDescriptionBuilder extends Object
| Constructor and Description |
|---|
ExpressionHttpResponseInterceptorDescriptionBuilder() |
| Modifier and Type | Method and Description |
|---|---|
ExpressionHttpResponseInterceptorDescriptionBuilder |
bodyExpression(String bodyExpression)
Sets the expression for resolving the body.
|
ExpressionHttpResponseInterceptorDescriptionBuilder |
headersExpression(String headersExpression)
Sets the expression for resolving the headers.
|
ExpressionHttpResponseInterceptorDescriptionBuilder |
matchExpression(String matchExpression)
Sets the matching expression for this interceptor descriptor.
|
ExpressionHttpResponseInterceptorDescriptionBuilder |
reasonPhraseExpression(String reasonPhraseExpression)
Sets the expression for resolving the reason phrase.
|
ExpressionHttpResponseInterceptorDescriptionBuilder |
statusCodeExpression(String statusCodeExpression)
Sets the expression for resolving the status code.
|
public ExpressionHttpResponseInterceptorDescriptionBuilder()
public ExpressionHttpResponseInterceptorDescriptionBuilder matchExpression(String matchExpression)
matchExpression - a DW expression that returns a boolean true if the interceptor should handle the response or
not.public ExpressionHttpResponseInterceptorDescriptionBuilder statusCodeExpression(String statusCodeExpression)
statusCodeExpression - a DW expression that resolves the status code.public ExpressionHttpResponseInterceptorDescriptionBuilder reasonPhraseExpression(String reasonPhraseExpression)
reasonPhraseExpression - a DW expression that resolves the reason phrase.public ExpressionHttpResponseInterceptorDescriptionBuilder headersExpression(String headersExpression)
headersExpression - a DW expression that resolves the headers.public ExpressionHttpResponseInterceptorDescriptionBuilder bodyExpression(String bodyExpression)
bodyExpression - a DW expression that resolves the body.Copyright © 2022. All rights reserved.