Carl Mastrangelo
4221f5a81c
Change ExperimentalApi field 'comment' to 'value'
2015-08-26 13:40:11 -07:00
Carl Mastrangelo
cb734e3049
Document equals and hashCode on Status
2015-08-26 13:31:13 -07:00
Carl Mastrangelo
b5eaaf378e
Add @ExperimentalApi annotation to compression methods
2015-08-26 13:25:21 -07:00
Kun Zhang
8225d2a6a6
Add comment field to ExperimentalApi
2015-08-26 10:42:08 -07:00
Carl Mastrangelo
0d9ac41bdd
Minor cleanup in deframer
2015-08-26 09:58:15 -07:00
nmittler
777e928536
Removing transport shutdown hooks from channel builder
...
The current process of building a channel is a bit complicated in that transports have to provide a own shutdown hook to the channel builder in order to close shared executors. This somewhat entagled creation pattern makes it difficult to separate the process of channel building from transport building. Better separating these two should make the code more readable and maintainable moving forward.
2015-08-25 08:38:39 -07:00
Xudong Ma
2247ad2a2b
Makes application-provided string comes first in User-Agent
2015-08-24 19:42:16 -07:00
Kun Zhang
68c82bc2f3
Make ServerImpl constructor pakcage-private
2015-08-24 15:13:25 -07:00
Xudong Ma
c5ea5c78cf
Update Java doc for a508c1d4f5
2015-08-24 13:49:51 -07:00
Xudong Ma
485bc9c83c
OkHttp: Make sure TransportListener.transportReady() can only be called once.
2015-08-24 13:39:37 -07:00
Xudong Ma
76b410de39
Remove size restriction when parsing nano protos
2015-08-24 13:32:17 -07:00
Carl Mastrangelo
345773504c
Quick work around for Rst bug
2015-08-24 11:42:35 -07:00
Carl Mastrangelo
a508c1d4f5
Remove Headers
2015-08-24 11:41:10 -07:00
Xudong Ma
13c14df055
Netty: Call ClientTransport.Listener.transportReady() after receiving SETTINGS frame.
2015-08-24 10:57:05 -07:00
Kun Zhang
7b6a498eff
Annotate ServerEssentials, buildEssentials() and ServerImpl's constructor with @Internal
2015-08-24 10:17:00 -07:00
Xudong Ma
37b1a8c6d9
Update the code example to use our own API
2015-08-24 09:44:46 -07:00
nmittler
0b57f56bf0
Reducing the size of the "large" proto in ProtoUtilsTest.
...
Hoping to eliminate flakes on Travis.
Fixes #859
2015-08-24 08:40:58 -07:00
nmittler
e2f88fa904
Moving a few common utilities to GrpcUtil.
2015-08-24 07:53:32 -07:00
Xudong Ma
21f9b44d14
Use status UNAVAILABLE for IOException thrown by OkHttp reading path, which can also be triggered by HTTP/2 issues.
2015-08-21 16:42:22 -07:00
nmittler
aeae7a8e74
Rename HttpUtil to GrpcUtil.
...
It's not really just for HTTP, it has becoming a dumping ground for many internal constants/utilities.
2015-08-21 14:02:26 -07:00
nmittler
9f7cb80108
Adding handling for stream exhaustion in Netty.
2015-08-21 13:01:17 -07:00
Kun Zhang
d68c101a55
Fix documentation on ClientCall.request().
...
request() is allowed after halfClose(), and is not necessarily forbidden
after cancel() (current implementation does not).
2015-08-21 08:59:49 -07:00
Carl Mastrangelo
701bbe509f
Add unit tests to AbstractClientStream
2015-08-20 17:14:08 -07:00
Kun Zhang
042b278256
Remove the first MethodDescriptor constructor.
...
that takes the service name and method name separately.
Also fix tests that are still using the old full qualified method name
format.
2015-08-20 14:19:50 -07:00
nmittler
573f79a06d
Remove proto size restriction when parsing protos.
2015-08-20 14:10:49 -07:00
Carl Mastrangelo
6ebf9b1373
fix comment
2015-08-20 13:19:16 -07:00
Xudong Ma
75f71c845b
Avoid deprecation warning on import
2015-08-20 09:47:03 -07:00
Kun Zhang
1a0ee96423
Improve documentation for ClientCall.
2015-08-20 09:15:23 -07:00
Kun Zhang
687a6f4814
Skip io.grpc.internal in javadoc.
...
Also move ExperimentalApi and Internal to io.grpc, so that they appear
in javadoc.
2015-08-20 08:48:44 -07:00
Xudong Ma
b83742d61c
Implement Connection Backoff Interop test.
2015-08-19 21:39:04 -07:00
Xudong Ma
d2ab1c26cb
OkHttp: Call ClientTransport.Listener.transportReady() after receiving settings frame.
2015-08-19 16:20:22 -07:00
Xudong Ma
bfcebeaa6a
Netty: Use status INTERNAL instead of UNKNOWN for underlying Http2Exception.
2015-08-19 12:53:36 -07:00
Xudong Ma
7dbca92435
Remove deprecated method.
2015-08-18 10:03:17 -07:00
Carl Mastrangelo
0b3fa8eece
Remove unnecessary instanceof check
2015-08-17 15:49:33 -07:00
Carl Mastrangelo
77b00e050b
Add Part 1 of compression
2015-08-17 11:32:52 -07:00
Eric Anderson
e72332ce5d
Add missing Generic param to Answers
2015-08-14 14:53:11 -07:00
Eric Anderson
9d1b33cae3
Remove unused variables
2015-08-14 14:53:10 -07:00
Nathan Mittler
5fe73880e7
Merge pull request #678 from nmittler/npn
...
Adding support for NPN fallback.
2015-08-14 14:51:42 -07:00
Xudong Ma
46c76bdff7
Update android-interop-test's dependency.
2015-08-14 11:25:59 -07:00
nmittler
247ffb1377
Adding support for NPN fallback.
...
This takes some steps towards #525 , but it won't be fixed until we
officially support OpenSSL. This is due to the fact that ALPN->NPN fallback
isn't supported with Jetty (since only one of the bootstrap plugins can be provided).
2015-08-14 11:21:14 -07:00
Eric Anderson
1b1c646ccd
Split compiling instructions out of README.md
...
The compilation instructions are long and scary, and they distract from
other documentation in the README. Most users don't need them, so by
moving the instructions out we improve the ease of use of the document.
2015-08-14 09:15:34 -07:00
Eric Anderson
d12f454e1f
Change Metadata.Trailers to Metadata in JavaDoc
2015-08-14 08:36:37 -07:00
Eric Anderson
22c4991d7f
Enable Animal Sniffer for protobuf projects
...
This ensures that we remain JDK6/Android-compatible.
2015-08-14 08:34:16 -07:00
Carl Mastrangelo
572f4332a7
Remove Trailers
2015-08-13 17:11:29 -07:00
Carl Mastrangelo
3c924fda85
Update README to use latest version
2015-08-13 16:27:58 -07:00
Xudong Ma
12872dc9e2
Add test oauth2_auth_token.
2015-08-13 16:00:42 -07:00
Carl Mastrangelo
8f6562eb3b
Update Docker version requirement
2015-08-13 15:35:13 -07:00
Kun Zhang
5df6ab00da
Upgrade protobuf-gradle-plugin to 0.7.0
2015-08-13 14:32:25 -07:00
Kun Zhang
cadc0b2681
Fetch the latest Protobuf sources before checking out the release.
...
The protoc-artifacts may have been created at previous release, which
may not contain the latest Protobuf release.
2015-08-13 14:30:40 -07:00
Carl Mastrangelo
68fe049e35
Remove Deprecated newCall method on Channel
2015-08-13 13:24:37 -07:00