grpc-server java application context

21 views
Skip to first unread message

srumith....@gmail.com

unread,
May 23, 2018, 3:25:51 AM5/23/18
to grpc.io


Hi All


We have an application running on grpc-server in java. We have a requirement to set application-context for this application. Can you please help with some sample code?

Currently, my URL looks like https://host:port/ but we want it to be running on https://host:port/example-server.


Please help !


Thanks Srumith.

Mahesh Kanote

unread,
May 23, 2018, 3:41:10 AM5/23/18
to srumith....@gmail.com, grpc.io
Hi,

Using server interceptor request scoped context can be set. Please check https://github.com/jyane/context-example

Thanks,
Mahesh

--
You received this message because you are subscribed to the Google Groups "grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+unsubscribe@googlegroups.com.
To post to this group, send email to grp...@googlegroups.com.
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/17f1d067-bd13-4ec2-8948-0949fe8dcbb5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--


Thanks,
Mahesh
Reply all
Reply to author
Forward
0 new messages