Hi Ishara, AFAIK you should be able to get that information through the request object. e.g request.getProperties()
Thanks Thusitha On Thu, Nov 3, 2016 at 10:24 AM, Ishara Cooray <isha...@wso2.com> wrote: > +Shafreen, Sanjeewa, Kishanthan > > Hi, > > With regard to C5 implementation, i need to get api request properties > such as Message.BASE_PATH, Message.PATH_INFO, Message.HTTP_REQUEST_METHOD > for scope validation of a rest api call. > > In Interceptor interface we have precall method which i can use to get > above information. > > public boolean preCall(Request request, Response responder, > ServiceMethodInfo serviceMethodInfo) > > Appreciate if you can provide the usage of the above to get http request > info and token info. > > > Thanks. > Ishara > > > _______________________________________________ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Thusitha Dayaratne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com Mobile +94712756809 Blog alokayasoya.blogspot.com About http://about.me/thusithathilina <http://wso2.com/signature>
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev