All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.litongjava.tio.boot.http.forward.RequestProxyCallback Maven / Gradle / Ivy

There is a newer version: 1.8.6
Show newest version
package com.litongjava.tio.boot.http.forward;

import java.util.Map;

import com.litongjava.tio.http.common.HeaderName;
import com.litongjava.tio.http.common.HeaderValue;
import com.litongjava.tio.http.common.HttpRequest;

public interface RequestProxyCallback {

  public void saveRequest(long id, String ip, HttpRequest httpRequest);

  public void saveResponse(long id, long elapsed, int statusCode, Map headers,
      HeaderValue contentEncoding, byte[] body);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy