mirror of https://github.com/grpc/grpc-java.git
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:
parent
15ca50ac7c
commit
c392a91a99
|
|
@ -32,7 +32,7 @@ import okio.ByteString;
|
||||||
/**
|
/**
|
||||||
* Constants for request/response headers.
|
* 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 SCHEME_HEADER = new Header(Header.TARGET_SCHEME, "https");
|
||||||
public static final Header METHOD_HEADER = new Header(Header.TARGET_METHOD, GrpcUtil.HTTP_METHOD);
|
public static final Header METHOD_HEADER = new Header(Header.TARGET_METHOD, GrpcUtil.HTTP_METHOD);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue