org.glassfish.jersey.internal.inject
Class UriInfoInjectee
java.lang.Object
org.glassfish.jersey.internal.inject.UriInfoInjectee
- All Implemented Interfaces:
- javax.ws.rs.core.UriInfo
public class UriInfoInjectee
- extends java.lang.Object
- implements javax.ws.rs.core.UriInfo
Proxiable wrapper for request scoped UriInfo instance.
- Author:
- Jakub Podlesak (jakub.podlesak at oracle.com)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UriInfoInjectee
public UriInfoInjectee()
set
public void set(javax.ws.rs.core.UriInfo uriInfo)
- Set wrapped instance. Should be invoked on each incoming request,
when a new injectee instance is created by HK2.
- Parameters:
uriInfo - actual uri info.
getRequestUri
public java.net.URI getRequestUri()
- Specified by:
getRequestUri in interface javax.ws.rs.core.UriInfo
getPath
public java.lang.String getPath()
- Specified by:
getPath in interface javax.ws.rs.core.UriInfo
getPath
public java.lang.String getPath(boolean decode)
- Specified by:
getPath in interface javax.ws.rs.core.UriInfo
getPathSegments
public java.util.List<javax.ws.rs.core.PathSegment> getPathSegments()
- Specified by:
getPathSegments in interface javax.ws.rs.core.UriInfo
getPathSegments
public java.util.List<javax.ws.rs.core.PathSegment> getPathSegments(boolean decode)
- Specified by:
getPathSegments in interface javax.ws.rs.core.UriInfo
getRequestUriBuilder
public javax.ws.rs.core.UriBuilder getRequestUriBuilder()
- Specified by:
getRequestUriBuilder in interface javax.ws.rs.core.UriInfo
getAbsolutePath
public java.net.URI getAbsolutePath()
- Specified by:
getAbsolutePath in interface javax.ws.rs.core.UriInfo
getAbsolutePathBuilder
public javax.ws.rs.core.UriBuilder getAbsolutePathBuilder()
- Specified by:
getAbsolutePathBuilder in interface javax.ws.rs.core.UriInfo
getBaseUri
public java.net.URI getBaseUri()
- Specified by:
getBaseUri in interface javax.ws.rs.core.UriInfo
getBaseUriBuilder
public javax.ws.rs.core.UriBuilder getBaseUriBuilder()
- Specified by:
getBaseUriBuilder in interface javax.ws.rs.core.UriInfo
getPathParameters
public javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> getPathParameters()
- Specified by:
getPathParameters in interface javax.ws.rs.core.UriInfo
getPathParameters
public javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> getPathParameters(boolean decode)
- Specified by:
getPathParameters in interface javax.ws.rs.core.UriInfo
getQueryParameters
public javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> getQueryParameters()
- Specified by:
getQueryParameters in interface javax.ws.rs.core.UriInfo
getQueryParameters
public javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> getQueryParameters(boolean decode)
- Specified by:
getQueryParameters in interface javax.ws.rs.core.UriInfo
getMatchedURIs
public java.util.List<java.lang.String> getMatchedURIs()
- Specified by:
getMatchedURIs in interface javax.ws.rs.core.UriInfo
getMatchedURIs
public java.util.List<java.lang.String> getMatchedURIs(boolean decode)
- Specified by:
getMatchedURIs in interface javax.ws.rs.core.UriInfo
getMatchedResources
public java.util.List<java.lang.Object> getMatchedResources()
- Specified by:
getMatchedResources in interface javax.ws.rs.core.UriInfo
resolve
public java.net.URI resolve(java.net.URI uri)
- Specified by:
resolve in interface javax.ws.rs.core.UriInfo
relativize
public java.net.URI relativize(java.net.URI uri)
- Specified by:
relativize in interface javax.ws.rs.core.UriInfo
Copyright © 2007-2013 Oracle Corporation. All Rights Reserved. Use is subject to license terms.