summaryrefslogtreecommitdiff
path: root/xml/impl/src/org/jetbrains/io/fastCgi/FastCgiResponse.java
blob: e249f7152c7c3e1a7b5984db1d1e5443c4e79107 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package org.jetbrains.io.fastCgi;

import io.netty.buffer.ByteBuf;

public class FastCgiResponse {
  private final int id;
  private final ByteBuf data;

  public FastCgiResponse(int id, ByteBuf data) {
    this.id = id;
    this.data = data;
  }

  public ByteBuf getData() {
    return data;
  }

  public int getId() {
    return id;
  }
}