okhttp: Make Headers package-private

There was no way to use it without touching internal APIs, and it should
never have been public to begin with as it serves no purpose to a user.
This commit is contained in:
Eric Anderson 2017-08-09 15:37:55 -07:00
parent 15ca50ac7c
commit c392a91a99
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ import okio.ByteString;
/**
* Constants for request/response headers.
*/
public class Headers {
class Headers {
public static final Header SCHEME_HEADER = new Header(Header.TARGET_SCHEME, "https");
public static final Header METHOD_HEADER = new Header(Header.TARGET_METHOD, GrpcUtil.HTTP_METHOD);