Skip to content
This repository has been archived by the owner on Nov 22, 2024. It is now read-only.

Commit

Permalink
//fbandroid/java/com/facebook/debug/http:http
Browse files Browse the repository at this point in the history
Reviewed By: jshort

Differential Revision: D61276657

fbshipit-source-id: 1478a9ac614cc0baa26ca8ec39f4ec469384cb2d
  • Loading branch information
Omer Strulovich authored and facebook-github-bot committed Aug 20, 2024
1 parent b819119 commit d6fd933
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ public interface NetworkReporter {

public class Header {
public final String name;
public final String value;
public final @Nullable String value;

public Header(final String name, final String value) {
public Header(final String name, @Nullable final String value) {
this.name = name;
this.value = value;
}
Expand All @@ -35,9 +35,9 @@ public class RequestInfo {
public String requestId;
public long timeStamp;
public List<Header> headers = new ArrayList<>();
public String method;
public String uri;
public byte[] body;
@Nullable public String method;
@Nullable public String uri;
@Nullable public byte[] body;
public String videoId = null;

public Header getFirstHeader(final String name) {
Expand All @@ -54,7 +54,7 @@ public class ResponseInfo {
public String requestId;
public long timeStamp;
public int statusCode;
public String statusReason;
public @Nullable String statusReason;
public List<Header> headers = new ArrayList<>();
public @Nullable byte[] body;
public boolean isMock = false;
Expand Down

0 comments on commit d6fd933

Please sign in to comment.