CallResolver

class CallResolver<ReqT, RespT> extends Resolver<String>

Fields

KEY_LOCAL_ADDRESS

public static final Key<SocketAddress> KEY_LOCAL_ADDRESS

KEY_REMOTE_ADDRESS

public static final Key<SocketAddress> KEY_REMOTE_ADDRESS

KEY_USER_AGENT

public static final Metadata.Key<String> KEY_USER_AGENT

Constructors

CallResolver

public CallResolver(ServerCall<ReqT, RespT> call, Metadata headers, ServerCallHandler<ReqT, RespT> next)

Methods

resolve

public String resolve(String name)