How to access Fhir Servlet Context Object into ExampleRestfulServer ?

58 views
Skip to first unread message

heerendra singh

unread,
Nov 26, 2019, 9:33:23 AM11/26/19
to HAPI FHIR
I am trying to access fhir servlet context object into ExampleRestfulServer class of Restful server example.
any help will be appreciated...

James Agnew

unread,
Nov 26, 2019, 9:46:33 AM11/26/19
to heerendra singh, HAPI FHIR
You can add a parameter of type HttpServletRequest to any resource provider method, and pull the context out of that.

sent from my phone.

On Tue, Nov 26, 2019, 11:33 heerendra singh <heerend...@gmail.com> wrote:
I am trying to access fhir servlet context object into ExampleRestfulServer class of Restful server example.
any help will be appreciated...

--
You received this message because you are subscribed to the Google Groups "HAPI FHIR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hapi-fhir+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hapi-fhir/06775647-b2a6-4ece-9cb4-dc38316b6852%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages