cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Carman <ja...@carmanconsulting.com>
Subject Re: Getting Full Address of Server?
Date Tue, 23 May 2017 10:48:09 GMT
What I'm looking to do is check in with a service registry at startup time,
so I won't be executing a request at the time. Will UriInfo still work?
On Tue, May 23, 2017 at 4:50 AM Sergey Beryozkin <sberyozkin@gmail.com>
wrote:

> Hi James, UriInfo.getRequestUri or getAbsolutePath should give the right
> info at the runtime
>
> Sergey
> On 23/05/17 04:19, James Carman wrote:
> > Is there a way to ascertain the full address of a server created with
> > JAXRSServerFactoryBean?  For example, if I only set the address to
> "/foo",
> > is there any way to know that the full address is actually "
> > http://10.1.1.1/cxf/foo"?
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message