63 references to StatusCodeHttpResult
Microsoft.AspNetCore.Http.Results (63)
ResultsCache.StatusCodes.cs (63)
83return new StatusCodeHttpResult(statusCode); 88StatusCodes.Status101SwitchingProtocols => _status101SwitchingProtocols ??= new(StatusCodes.Status101SwitchingProtocols), 89StatusCodes.Status102Processing => _status102Processing ??= new(StatusCodes.Status102Processing), 90StatusCodes.Status200OK => _status200OK ??= new(StatusCodes.Status200OK), 91StatusCodes.Status201Created => _status201Created ??= new(StatusCodes.Status201Created), 92StatusCodes.Status202Accepted => _status202Accepted ??= new(StatusCodes.Status202Accepted), 93StatusCodes.Status203NonAuthoritative => _status203NonAuthoritative ??= new(StatusCodes.Status203NonAuthoritative), 94StatusCodes.Status204NoContent => _status204NoContent ??= new(StatusCodes.Status204NoContent), 95StatusCodes.Status205ResetContent => _status205ResetContent ??= new(StatusCodes.Status205ResetContent), 96StatusCodes.Status206PartialContent => _status206PartialContent ??= new(StatusCodes.Status206PartialContent), 97StatusCodes.Status207MultiStatus => _status207MultiStatus ??= new(StatusCodes.Status207MultiStatus), 98StatusCodes.Status208AlreadyReported => _status208AlreadyReported ??= new(StatusCodes.Status208AlreadyReported), 99StatusCodes.Status226IMUsed => _status226IMUsed ??= new(StatusCodes.Status226IMUsed), 100StatusCodes.Status300MultipleChoices => _status300MultipleChoices ??= new(StatusCodes.Status300MultipleChoices), 101StatusCodes.Status301MovedPermanently => _status301MovedPermanently ??= new(StatusCodes.Status301MovedPermanently), 102StatusCodes.Status302Found => _status302Found ??= new(StatusCodes.Status302Found), 103StatusCodes.Status303SeeOther => _status303SeeOther ??= new(StatusCodes.Status303SeeOther), 104StatusCodes.Status304NotModified => _status304NotModified ??= new(StatusCodes.Status304NotModified), 105StatusCodes.Status305UseProxy => _status305UseProxy ??= new(StatusCodes.Status305UseProxy), 106StatusCodes.Status306SwitchProxy => _status306SwitchProxy ??= new(StatusCodes.Status306SwitchProxy), 107StatusCodes.Status307TemporaryRedirect => _status307TemporaryRedirect ??= new(StatusCodes.Status307TemporaryRedirect), 108StatusCodes.Status308PermanentRedirect => _status308PermanentRedirect ??= new(StatusCodes.Status308PermanentRedirect), 109StatusCodes.Status400BadRequest => _status400BadRequest ??= new(StatusCodes.Status400BadRequest), 110StatusCodes.Status401Unauthorized => _status401Unauthorized ??= new(StatusCodes.Status401Unauthorized), 111StatusCodes.Status402PaymentRequired => _status402PaymentRequired ??= new(StatusCodes.Status402PaymentRequired), 112StatusCodes.Status403Forbidden => _status403Forbidden ??= new(StatusCodes.Status403Forbidden), 113StatusCodes.Status404NotFound => _status404NotFound ??= new(StatusCodes.Status404NotFound), 114StatusCodes.Status405MethodNotAllowed => _status405MethodNotAllowed ??= new(StatusCodes.Status405MethodNotAllowed), 115StatusCodes.Status406NotAcceptable => _status406NotAcceptable ??= new(StatusCodes.Status406NotAcceptable), 116StatusCodes.Status407ProxyAuthenticationRequired => _status407ProxyAuthenticationRequired ??= new(StatusCodes.Status407ProxyAuthenticationRequired), 117StatusCodes.Status408RequestTimeout => _status408RequestTimeout ??= new(StatusCodes.Status408RequestTimeout), 118StatusCodes.Status409Conflict => _status409Conflict ??= new(StatusCodes.Status409Conflict), 119StatusCodes.Status410Gone => _status410Gone ??= new(StatusCodes.Status410Gone), 120StatusCodes.Status411LengthRequired => _status411LengthRequired ??= new(StatusCodes.Status411LengthRequired), 121StatusCodes.Status412PreconditionFailed => _status412PreconditionFailed ??= new(StatusCodes.Status412PreconditionFailed), 122StatusCodes.Status413RequestEntityTooLarge => _status413RequestEntityTooLarge ??= new(StatusCodes.Status413RequestEntityTooLarge), 123StatusCodes.Status414RequestUriTooLong => _status414RequestUriTooLong ??= new(StatusCodes.Status414RequestUriTooLong), 124StatusCodes.Status415UnsupportedMediaType => _status415UnsupportedMediaType ??= new(StatusCodes.Status415UnsupportedMediaType), 125StatusCodes.Status416RequestedRangeNotSatisfiable => _status416RequestedRangeNotSatisfiable ??= new(StatusCodes.Status416RequestedRangeNotSatisfiable), 126StatusCodes.Status417ExpectationFailed => _status417ExpectationFailed ??= new(StatusCodes.Status417ExpectationFailed), 127StatusCodes.Status418ImATeapot => _status418ImATeapot ??= new(StatusCodes.Status418ImATeapot), 128StatusCodes.Status419AuthenticationTimeout => _status419AuthenticationTimeout ??= new(StatusCodes.Status419AuthenticationTimeout), 129StatusCodes.Status421MisdirectedRequest => _status421MisdirectedRequest ??= new(StatusCodes.Status421MisdirectedRequest), 130StatusCodes.Status422UnprocessableEntity => _status422UnprocessableEntity ??= new(StatusCodes.Status422UnprocessableEntity), 131StatusCodes.Status423Locked => _status423Locked ??= new(StatusCodes.Status423Locked), 132StatusCodes.Status424FailedDependency => _status424FailedDependency ??= new(StatusCodes.Status424FailedDependency), 133StatusCodes.Status426UpgradeRequired => _status426UpgradeRequired ??= new(StatusCodes.Status426UpgradeRequired), 134StatusCodes.Status428PreconditionRequired => _status428PreconditionRequired ??= new(StatusCodes.Status428PreconditionRequired), 135StatusCodes.Status429TooManyRequests => _status429TooManyRequests ??= new(StatusCodes.Status429TooManyRequests), 136StatusCodes.Status431RequestHeaderFieldsTooLarge => _status431RequestHeaderFieldsTooLarge ??= new(StatusCodes.Status431RequestHeaderFieldsTooLarge), 137StatusCodes.Status451UnavailableForLegalReasons => _status451UnavailableForLegalReasons ??= new(StatusCodes.Status451UnavailableForLegalReasons), 138StatusCodes.Status500InternalServerError => _status500InternalServerError ??= new(StatusCodes.Status500InternalServerError), 139StatusCodes.Status501NotImplemented => _status501NotImplemented ??= new(StatusCodes.Status501NotImplemented), 140StatusCodes.Status502BadGateway => _status502BadGateway ??= new(StatusCodes.Status502BadGateway), 141StatusCodes.Status503ServiceUnavailable => _status503ServiceUnavailable ??= new(StatusCodes.Status503ServiceUnavailable), 142StatusCodes.Status504GatewayTimeout => _status504GatewayTimeout ??= new(StatusCodes.Status504GatewayTimeout), 143StatusCodes.Status505HttpVersionNotsupported => _status505HttpVersionNotsupported ??= new(StatusCodes.Status505HttpVersionNotsupported), 144StatusCodes.Status506VariantAlsoNegotiates => _status506VariantAlsoNegotiates ??= new(StatusCodes.Status506VariantAlsoNegotiates), 145StatusCodes.Status507InsufficientStorage => _status507InsufficientStorage ??= new(StatusCodes.Status507InsufficientStorage), 146StatusCodes.Status508LoopDetected => _status508LoopDetected ??= new(StatusCodes.Status508LoopDetected), 147StatusCodes.Status510NotExtended => _status510NotExtended ??= new(StatusCodes.Status510NotExtended), 148StatusCodes.Status511NetworkAuthenticationRequired => _status511NetworkAuthenticationRequired ??= new(StatusCodes.Status511NetworkAuthenticationRequired), 149_ => new StatusCodeHttpResult(statusCode),