spring-framework / org.springframework.web.context.support / ServletRequestHandledEvent / getStatusCode

getStatusCode

open fun getStatusCode(): Int

Return the HTTP status code of the response or -1 if the status code is not available.

Since
4.1