code: public void setStatus(int status) {
          // 311717
          if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) {  //306998.15
              logger.entering(CLASS_NAME,"setStatus", " status --> " + String.valueOf(status)+ " ["+this+"]");
          }
          WebAppDispatcherContext dispatchContext = (WebAppDispatcherContext) getRequest().getWebAppDispatcherContext();
          if (dispatchContext.isInclude() == true) {
              if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) {  //306998.15
                  logger.logp(Level.FINE, CLASS_NAME,"setStatus", nls.getString("Illegal.from.included.servlet", "Illegal from included servlet"), "setStatus status --> " + String.valueOf(status));  //311717
              }
          }
          else {
              if (!_ignoreStateErrors && isCommitted()) {
                  logger.logp(Level.WARNING, CLASS_NAME,"setStatus", "Cannot.set.status.Response.already.committed");
              }
              else {
                  if (WCCustomProperties.RESET_BUFFER_ON_SET_STATUS)
                      resetBuffer();
                  _response.setStatusCode(status);
                  _statusCode = status;
              }
          }
          if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) {  //306998.15
              logger.exiting(CLASS_NAME,"setStatus");
          }
      }
docs: Sets the status code and a default message for this response.
  
  @param status The status code.