public boolean isTemporaryStatusCode ( ) { int code = this . myStatusCode . getIntCode ( ) ; //We need to check if the WebContainer spec level is greater than 3.0 //If it is then we don't want to treat the 101 status code as a temp //one as it changes our behavior if ( HttpDispatcher . useEE7Streams ( ) && ( code == 101 ) ) return false ; return ( 100 <= code && 200 > code ) ; }
Query whether this response message s status code represents a temporary status of 1xx .