예제 #1
0
 @Override
 public void setStatus(int status, String message) {
   this.status = status;
   if (!isError()) {
     super.setStatus(status, message);
   }
 }
예제 #2
0
 @Override
 public void setStatus(int i) {
   if (i != 200) {
     wrapped = false;
   }
   super.setStatus(i);
 }
예제 #3
0
 @Override
 public void setStatus(int status) {
   this.status = status;
   if (!isError()) {
     super.setStatus(status);
   }
 }
예제 #4
0
 public void setStatus(int statusCode) {
   detectErrorResponse(statusCode);
   super.setStatus(statusCode);
 }
 public void setStatus(int code, String msg) {
   statusCode = code;
   super.setStatus(code);
 }
 public void setStatus(int code) {
   statusCode = code;
   super.setStatus(code);
 }
예제 #7
0
 /** @deprecated */
 public void setStatus(int sc, String sm) {
   super.setStatus(sc, sm);
 }
 /** Check for not modified so that users of this class can use it. */
 public void setStatus(int sc) {
   super.setStatus(sc);
   this.status = sc;
 }
 @Override
 public void setStatus(int sc) {
   super.setStatus(sc);
   statusCode = sc;
 }
예제 #10
0
 @Override
 public void setStatus(int sc) {
   httpStatus = sc;
   super.setStatus(sc);
 }
예제 #11
0
 @SuppressWarnings("deprecation") // This is due to Tomcat 7 (not applicable to AppEngine)
 @Override
 public void setStatus(final int sc, final String sm) {
   status = sc;
   super.setStatus(sc, sm);
 }
예제 #12
0
 @Override
 public void setStatus(final int sc) {
   status = sc;
   super.setStatus(sc);
 }
 @SuppressWarnings("deprecation")
 public void setStatus(int statusCode, String statusMessage) {
   super.setStatus(statusCode, statusMessage);
   this.status = statusCode;
 }
 public void setStatus(int statusCode) {
   super.setStatus(statusCode);
   this.status = statusCode;
 }
예제 #15
0
 /** Sets the status code for this response. */
 public void setStatus(final int code, final String msg) {
   statusCode = code;
   LOG.warn("Discarding message because this method is deprecated.");
   super.setStatus(code);
 }
예제 #16
0
 public void setStatus(int statusCode, String message) {
   detectErrorResponse(statusCode);
   super.setStatus(statusCode, message);
 }
 @Override
 public void setStatus(final int status) {
   super.setStatus(status);
   this.status = status;
 }
 @Override
 public void setStatus(int sc, String sm) {
   super.setStatus(sc, sm);
   statusCode = sc;
   message = sm;
 }