@Deprecated
public interface ExtendedUriInfo
extends javax.ws.rs.core.UriInfo
UriInfo extension returns UriBuilders
which contains the "file" extension given by the request. This extension will
also be available, if the path will be changed (e.g. replaced, removed or
matrix parameters added). For further information see
ExtendedUriBuilder.extension(String),
ExtendedUriBuilder.extensionLanguage(String) and
ExtendedUriBuilder.extensionMedia(String). You could get it in the
same way as the default UriInfo, that measn annotate a field of this type
with @Context.UriInfo| Modifier and Type | Method and Description |
|---|---|
ExtendedUriBuilder |
getAbsolutePathBuilder()
Deprecated.
Get the absolute path of the request in the form of an
ExtendedUriBuilder. |
ExtendedUriBuilder |
getBaseUriBuilder()
Deprecated.
Get the base URI of the application in the form of an
ExtendedUriBuilder. |
ExtendedUriBuilder |
getRequestUriBuilder()
Deprecated.
Get the absolute request URI in the form of an
ExtendedUriBuilder
. |
ExtendedUriBuilder getAbsolutePathBuilder()
ExtendedUriBuilder. This includes everything preceding the path
(host, port etc) but excludes query parameters. It also includes the
extension of the current request.getAbsolutePathBuilder in interface javax.ws.rs.core.UriInfojava.lang.IllegalStateException - if called outside the scope of a requestUriInfo.getAbsolutePathBuilder()ExtendedUriBuilder getBaseUriBuilder()
ExtendedUriBuilder. It also includes the extension of the current
request.getBaseUriBuilder in interface javax.ws.rs.core.UriInfoUriInfo.getBaseUriBuilder()ExtendedUriBuilder getRequestUriBuilder()
ExtendedUriBuilder
. It also includes the extension of the current request.getRequestUriBuilder in interface javax.ws.rs.core.UriInfojava.lang.IllegalStateException - if called outside the scope of a requestCopyright © 2005-2020 Restlet.