Reinhardt simon.reinha...@koeln.de
Sent: Sunday, March 15, 2009 11:29 PM
To: discuss@restlet.tigris.org
Subject: Re: Handling a URI fragment identifier component using jax-rs?
Hi Ty
Ty wrote:
Hi,
I can't seem to get a route to work for a URL that has a fragment identifier
component e.g. http://site
Hi,
I can't seem to get a route to work for a URL that has a fragment identifier
component e.g. http://site/page#fragment
I am using restlet 1.2M1 and I have tried:
@Path(page#{fragment})
@GET
@Produces(text/plain)
public String getFragment(@Context UriInfo uriInfo, @PathParam(fragment)
String
I don't know how to specify method annotation to catch resources only
with fragments specified / or to catch ones with specific fragments
like
@Path (please trigger if the request is ended with fragment identifier) or
@Path (please trigger if request is ended with specific fragment identifier)
I
you may need to try
page#{fragment:.*}
On Sun, Mar 15, 2009 at 2:21 PM, Xasima Xirohata xas...@gmail.com wrote:
I don't know how to specify method annotation to catch resources only
with fragments specified / or to catch ones with specific fragments
like
@Path (please trigger if the request
Hi Ty
Ty wrote:
Hi,
I can't seem to get a route to work for a URL that has a fragment identifier
component e.g. http://site/page#fragment
That's because fragment identifiers don't get sent to the server. Going by the
HTTP spec there is no fragment in the request URI so the user agent has to
5 matches
Mail list logo