public class RedirectUtil extends Object
Constructor and Description |
---|
RedirectUtil() |
Modifier and Type | Method and Description |
---|---|
static javax.ws.rs.core.Response |
createSeeOtherResponse(String uriString,
javax.ws.rs.core.UriInfo baseUri)
Redirects to the location provided by uriString in the context of the
request uri provided by baseUri.
|
static javax.ws.rs.core.Response |
createSeeOtherResponse(String uriString,
URL baseUrl)
Redirects to the location provided by uriString in the context
specified by baseUrl.
|
public static javax.ws.rs.core.Response createSeeOtherResponse(String uriString, javax.ws.rs.core.UriInfo baseUri)
uriString
- baseUri
- Response
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.