org.jboss.resteasy.specimpl
Class UriInfoImpl
java.lang.Object
org.jboss.resteasy.specimpl.UriInfoImpl
- All Implemented Interfaces:
- javax.ws.rs.core.UriInfo
public class UriInfoImpl
- extends Object
- implements javax.ws.rs.core.UriInfo
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UriInfoImpl
public UriInfoImpl(URI absolutePath,
URI baseUri,
String encodedPath,
String queryString,
List<javax.ws.rs.core.PathSegment> encodedPathSegments)
getPath
public String getPath()
- Specified by:
getPath
in interface javax.ws.rs.core.UriInfo
getPath
public String getPath(boolean decode)
- Specified by:
getPath
in interface javax.ws.rs.core.UriInfo
getPathSegments
public List<javax.ws.rs.core.PathSegment> getPathSegments()
- Specified by:
getPathSegments
in interface javax.ws.rs.core.UriInfo
getPathSegments
public List<javax.ws.rs.core.PathSegment> getPathSegments(boolean decode)
- Specified by:
getPathSegments
in interface javax.ws.rs.core.UriInfo
getRequestUri
public URI getRequestUri()
- Specified by:
getRequestUri
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 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 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<String,String> getPathParameters()
- Specified by:
getPathParameters
in interface javax.ws.rs.core.UriInfo
addEncodedPathParameter
public void addEncodedPathParameter(String name,
String value)
getEncodedPathParameterPathSegments
public javax.ws.rs.core.MultivaluedMap<String,javax.ws.rs.core.PathSegment[]> getEncodedPathParameterPathSegments()
getPathParameterPathSegments
public javax.ws.rs.core.MultivaluedMap<String,javax.ws.rs.core.PathSegment[]> getPathParameterPathSegments()
getPathParameters
public javax.ws.rs.core.MultivaluedMap<String,String> getPathParameters(boolean decode)
- Specified by:
getPathParameters
in interface javax.ws.rs.core.UriInfo
getQueryParameters
public javax.ws.rs.core.MultivaluedMap<String,String> getQueryParameters()
- Specified by:
getQueryParameters
in interface javax.ws.rs.core.UriInfo
getEncodedQueryParameters
protected javax.ws.rs.core.MultivaluedMap<String,String> getEncodedQueryParameters()
getQueryParameters
public javax.ws.rs.core.MultivaluedMap<String,String> getQueryParameters(boolean decode)
- Specified by:
getQueryParameters
in interface javax.ws.rs.core.UriInfo
extractParameters
protected void extractParameters(String queryString)
getMatchedURIs
public List<String> getMatchedURIs(boolean decode)
- Specified by:
getMatchedURIs
in interface javax.ws.rs.core.UriInfo
getMatchedURIs
public List<String> getMatchedURIs()
- Specified by:
getMatchedURIs
in interface javax.ws.rs.core.UriInfo
getMatchedResources
public List<Object> getMatchedResources()
- Specified by:
getMatchedResources
in interface javax.ws.rs.core.UriInfo
pushCurrentResource
public void pushCurrentResource(Object resource)
popCurrentResource
public void popCurrentResource()
pushMatchedURI
public void pushMatchedURI(String encoded,
String decoded)
popMatchedURI
public void popMatchedURI()
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.