Delen via


ResponseClassifier Class

Definition

A type that analyzes HTTP responses and exceptions and determines if they should be retried, and/or analyzes responses and determines if they should be treated as error responses.

public class ResponseClassifier
type ResponseClassifier = class
Public Class ResponseClassifier
Inheritance
ResponseClassifier
Derived

Constructors

ResponseClassifier()

Methods

IsErrorResponse(HttpMessage)

Specifies if the response contained in the message is not successful.

IsRetriable(HttpMessage, Exception)

Specifies if the operation that caused the exception should be retried taking the HttpMessage into consideration.

IsRetriableException(Exception)

Specifies if the operation that caused the exception should be retried.

IsRetriableResponse(HttpMessage)

Specifies if the request contained in the message should be retried.

Applies to