|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ExtendedUriInfo
This 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| Method Summary | |
|---|---|
ExtendedUriBuilder |
getAbsolutePathBuilder()
Get the absolute path of the request in the form of an ExtendedUriBuilder. |
ExtendedUriBuilder |
getBaseUriBuilder()
Get the base URI of the application in the form of an ExtendedUriBuilder. |
ExtendedUriBuilder |
getRequestUriBuilder()
Get the absolute request URI in the form of an ExtendedUriBuilder
. |
| Methods inherited from interface javax.ws.rs.core.UriInfo |
|---|
getAbsolutePath, getBaseUri, getMatchedResources, getMatchedURIs, getMatchedURIs, getPath, getPath, getPathParameters, getPathParameters, getPathSegments, getPathSegments, getQueryParameters, getQueryParameters, getRequestUri |
| Method Detail |
|---|
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 UriInfoIllegalStateException - if called outside the scope of a requestUriInfo.getAbsolutePathBuilder()ExtendedUriBuilder getBaseUriBuilder()
ExtendedUriBuilder. It also includes the extension of the current
request.
getBaseUriBuilder in interface UriInfoUriInfo.getBaseUriBuilder()ExtendedUriBuilder getRequestUriBuilder()
ExtendedUriBuilder
. It also includes the extension of the current request.
getRequestUriBuilder in interface UriInfoIllegalStateException - if called outside the scope of a request
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||