コード例 #1
0
  private FilterDirectorImpl(HttpStatusCode delegatedStatus, FilterAction delegatedAction) {
    this.status = delegatedStatus.intValue();
    this.delegatedAction = delegatedAction;

    directorOutputStream = new ByteArrayOutputStream();
    responsePrintWriter = new PrintWriter(directorOutputStream);
    destinations = new ArrayList<RouteDestination>();
  }
コード例 #2
0
 @Override
 public void setResponseStatus(HttpStatusCode delegatedStatus) {
   this.status = delegatedStatus.intValue();
 }
コード例 #3
0
 @Override
 public HttpStatusCode getResponseStatus() {
   return HttpStatusCode.fromInt(status);
 }