users@jersey.java.net
[Jersey] Optional path parameter at the beginning
This message
: [
Message body
] [ More options (
top
,
bottom
) ]
Related messages
: [
Next message
] [
Previous message
] [
Next in thread
] [
Replies
]
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]
From
: Arun PV <
arun_at_orbyo.com
>
Date
: Mon, 09 Mar 2015 20:42:52 +0530
Hi,
I'm developing a REST service API. Got stuck when tried the following method in the path parameter
@Path("/{ver : (ver/)?}{param1}/{param2}")The first parameter is optional, it's version number.This works if I try with no version no, like
http://www.orbyo.com/services/param1/param2
However it's not working if version parameter has a value, like
http://www.orbyo.com/services/0.0.1/param1/param2
(where
http://www.orbyo.com/services
is the base url ).Need help. Any idea why?Thanks in advance.Regards,Arun
This message
: [
Message body
]
Next message
:
Adam Lindenthal: "[Jersey] Re: Optional path parameter at the beginning"
Previous message
:
Rindt, Daniel: "[Jersey] Try to receive multipart which contains json"
Next in thread
:
Adam Lindenthal: "[Jersey] Re: Optional path parameter at the beginning"
Reply
:
Adam Lindenthal: "[Jersey] Re: Optional path parameter at the beginning"
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]