public ReqImpl(FastHttp http, Channel channel, boolean isKeepAlive, String verb, String uri, String path, String query, byte[] body, Map<String, String> params, Map<String, String> headers, Map<String, String> cookies, Map<String, Object> posted, Map<String, List<Upload>> files, boolean pendingBodyParsing, MediaType defaultContentType, String zone, Route route) { this.http = http; this.channel = channel; this.isKeepAlive = isKeepAlive; this.verb = verb; this.uri = uri; this.path = path; this.query = query; this.body = body; this.params = params; this.headers = headers; this.cookies = cookies; this.posted = posted; this.files = files; this.pendingBodyParsing = pendingBodyParsing; this.defaultContentType = defaultContentType; this.zone = zone; this.routes = http.routes(); this.route = route; this.connId = channel.connId(); this.handle = channel.handle(); this.requestId = channel.requestId(); this.custom = http.custom(); this.cacheKey = createCacheKey(); }
public ReqImpl(FastHttp http, Channel channel, boolean isKeepAlive, String verb, String uri, String path, String query, byte[] body, Map<String, String> params, Map<String, String> headers, Map<String, String> cookies, Map<String, Object> posted, Map<String, List<Upload>> files, boolean pendingBodyParsing, MediaType defaultContentType, String zone, Route route) { this.http = http; this.channel = channel; this.isKeepAlive = isKeepAlive; this.verb = verb; this.uri = uri; this.path = path; this.query = query; this.body = body; this.params = params; this.headers = headers; this.cookies = cookies; this.posted = posted; this.files = files; this.pendingBodyParsing = pendingBodyParsing; this.defaultContentType = defaultContentType; this.zone = zone; this.routes = http.routes(); this.route = route; this.connId = channel.connId(); this.handle = channel.handle(); this.requestId = channel.requestId(); this.custom = http.custom(); this.cacheKey = createCacheKey(); }