| Modifier and Type | Class and Description |
|---|---|
| public abstract static class | |
| private static class | ServerStreamTracer.ReadOnlyServerCall<ReqT, RespT>
Deprecated
Will be deleted when This class exists solely to help transition to the serverCallStarted(ServerCall) is removed.
ServerCallInfo based API.
|
| public abstract static class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Context | filterContext(Context context)
Called before the interceptors and the call handlers and make changes to the Context object if needed. |
| public void | serverCallStarted(ServerStreamTracer.
Called when |
| public void | serverCallStarted(ServerCall<?, ?> call)
Deprecated
Implement
Called when serverCallStarted(ServerCallInfo) instead.
ServerCall is created.
|
| ServerStreamTracer | back to summary |
|---|---|
| public ServerStreamTracer() | |
| filterContext | back to summary |
|---|---|
| public Context filterContext(Context context) Called before the interceptors and the call handlers and make changes to the Context object if needed. | |
| serverCallStarted | back to summary |
|---|---|
| public void serverCallStarted(ServerStreamTracer. Called when
| |
| serverCallStarted | back to summary |
|---|---|
| public void serverCallStarted(ServerCall<?, ?> call)
Deprecated Implement Called when
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public abstract ServerStreamTracer | newServerStreamTracer(String
the fully qualified method name fullMethodName, Metadata the received request headers. It can be safely mutated within this method.
It should not be saved because it is not safe for read or write after the method
returns. headers)Creates a |
| Factory | back to summary |
|---|---|
| public Factory() | |
| newServerStreamTracer | back to summary |
|---|---|
| public abstract ServerStreamTracer newServerStreamTracer(String fullMethodName, Metadata headers) Creates a Called right before the stream is created | |
Deprecated
Will be deleted when serverCallStarted(ServerCall) is removed.
ServerCallInfo based API.
| Modifier and Type | Field and Description |
|---|---|
| private final ServerStreamTracer. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static <ReqT, RespT> ServerStreamTracer. | create(ServerStreamTracer.
Deprecated
as a consequence of
ServerStreamTracer.ReadOnlyServerCall being deprecated.
|
| protected ServerCall | delegate()
Implements abstract io. ServerCall.
|
| public Attributes | getAttributes()
Overrides io. |
| public String | getAuthority()
Gets the authority this call is addressed to.
|
| public MethodDescriptor | getMethodDescriptor()
Overrides io. MethodDescriptor for the call.
|
| public boolean | isCancelled()
Overrides io. true when the call is cancelled and the server is encouraged to abort
processing to save resources, since the client will not be processing any further methods.
|
| public boolean | isReady()
Overrides io. true, indicates that the call is capable of sending additional messages
without requiring excessive buffering internally.
|
| callInfo | back to summary |
|---|---|
| private final ServerStreamTracer. | |
| ReadOnlyServerCall | back to summary |
|---|---|
| private ReadOnlyServerCall(ServerStreamTracer. | |
| create | back to summary |
|---|---|
| private static <ReqT, RespT> ServerStreamTracer. Deprecated as a consequence of | |
| delegate | back to summary |
|---|---|
| protected ServerCall Implements abstract io. Doc from io. Returns the delegated
| |
| getAttributes | back to summary |
|---|---|
| public Attributes getAttributes() Overrides io. Doc from io. Returns properties of a single call. Attributes originate from the transport and can be altered by
| |
| getAuthority | back to summary |
|---|---|
| public String getAuthority() Overrides io. Doc from io. Gets the authority this call is addressed to. | |
| getMethodDescriptor | back to summary |
|---|---|
| public MethodDescriptor Overrides io. Doc from io. The
| |
| isCancelled | back to summary |
|---|---|
| public boolean isCancelled() Overrides io. Doc from io. Returns This method may safely be called concurrently from multiple threads.
| |
| isReady | back to summary |
|---|---|
| public boolean isReady() Overrides io. Doc from io. If If This abstract class's implementation always returns
| |
ServerCall.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public abstract Attributes | |
| public abstract String | |
| public abstract MethodDescriptor |
| ServerCallInfo | back to summary |
|---|---|
| public ServerCallInfo() | |
| getAttributes | back to summary |
|---|---|
| public abstract Attributes getAttributes() | |
| getAuthority | back to summary |
|---|---|
public abstract String getAuthority()
| |
| getMethodDescriptor | back to summary |
|---|---|
| public abstract MethodDescriptor | |