org.apache.cxf.jaxrs.impl
Class UriBuilderImpl
java.lang.Object
javax.ws.rs.core.UriBuilder
org.apache.cxf.jaxrs.impl.UriBuilderImpl
public class UriBuilderImpl
- extends javax.ws.rs.core.UriBuilder
Methods inherited from class javax.ws.rs.core.UriBuilder |
fromPath, fromResource, fromUri, fromUri, newInstance |
UriBuilderImpl
public UriBuilderImpl()
- Creates builder with empty URI.
UriBuilderImpl
public UriBuilderImpl(URI uri)
throws IllegalArgumentException
- Creates builder initialized with given URI.
- Parameters:
uri
- initial value for builder
- Throws:
IllegalArgumentException
- when uri is null
build
public URI build(Object... values)
throws IllegalArgumentException,
javax.ws.rs.core.UriBuilderException
- Specified by:
build
in class javax.ws.rs.core.UriBuilder
- Throws:
IllegalArgumentException
javax.ws.rs.core.UriBuilderException
buildFromEncoded
public URI buildFromEncoded(Object... values)
throws IllegalArgumentException,
javax.ws.rs.core.UriBuilderException
- Specified by:
buildFromEncoded
in class javax.ws.rs.core.UriBuilder
- Throws:
IllegalArgumentException
javax.ws.rs.core.UriBuilderException
buildFromMap
public URI buildFromMap(Map<String,? extends Object> map)
throws IllegalArgumentException,
javax.ws.rs.core.UriBuilderException
- Specified by:
buildFromMap
in class javax.ws.rs.core.UriBuilder
- Throws:
IllegalArgumentException
javax.ws.rs.core.UriBuilderException
buildFromEncodedMap
public URI buildFromEncodedMap(Map<String,? extends Object> map)
throws IllegalArgumentException,
javax.ws.rs.core.UriBuilderException
- Specified by:
buildFromEncodedMap
in class javax.ws.rs.core.UriBuilder
- Throws:
IllegalArgumentException
javax.ws.rs.core.UriBuilderException
clone
public javax.ws.rs.core.UriBuilder clone()
- Overrides:
clone
in class javax.ws.rs.core.UriBuilder
fragment
public javax.ws.rs.core.UriBuilder fragment(String theFragment)
throws IllegalArgumentException
- Specified by:
fragment
in class javax.ws.rs.core.UriBuilder
- Throws:
IllegalArgumentException
host
public javax.ws.rs.core.UriBuilder host(String theHost)
throws IllegalArgumentException
- Specified by:
host
in class javax.ws.rs.core.UriBuilder
- Throws:
IllegalArgumentException
path
public javax.ws.rs.core.UriBuilder path(Class resource)
throws IllegalArgumentException
- Specified by:
path
in class javax.ws.rs.core.UriBuilder
- Throws:
IllegalArgumentException
path
public javax.ws.rs.core.UriBuilder path(Class resource,
String method)
throws IllegalArgumentException
- Specified by:
path
in class javax.ws.rs.core.UriBuilder
- Throws:
IllegalArgumentException
path
public javax.ws.rs.core.UriBuilder path(Method method)
throws IllegalArgumentException
- Specified by:
path
in class javax.ws.rs.core.UriBuilder
- Throws:
IllegalArgumentException
path
public javax.ws.rs.core.UriBuilder path(String path)
throws IllegalArgumentException
- Specified by:
path
in class javax.ws.rs.core.UriBuilder
- Throws:
IllegalArgumentException
port
public javax.ws.rs.core.UriBuilder port(int thePort)
throws IllegalArgumentException
- Specified by:
port
in class javax.ws.rs.core.UriBuilder
- Throws:
IllegalArgumentException
scheme
public javax.ws.rs.core.UriBuilder scheme(String s)
throws IllegalArgumentException
- Specified by:
scheme
in class javax.ws.rs.core.UriBuilder
- Throws:
IllegalArgumentException
schemeSpecificPart
public javax.ws.rs.core.UriBuilder schemeSpecificPart(String ssp)
throws IllegalArgumentException
- Specified by:
schemeSpecificPart
in class javax.ws.rs.core.UriBuilder
- Throws:
IllegalArgumentException
uri
public javax.ws.rs.core.UriBuilder uri(URI uri)
throws IllegalArgumentException
- Specified by:
uri
in class javax.ws.rs.core.UriBuilder
- Throws:
IllegalArgumentException
userInfo
public javax.ws.rs.core.UriBuilder userInfo(String ui)
throws IllegalArgumentException
- Specified by:
userInfo
in class javax.ws.rs.core.UriBuilder
- Throws:
IllegalArgumentException
matrixParam
public javax.ws.rs.core.UriBuilder matrixParam(String name,
Object... values)
throws IllegalArgumentException
- Specified by:
matrixParam
in class javax.ws.rs.core.UriBuilder
- Throws:
IllegalArgumentException
queryParam
public javax.ws.rs.core.UriBuilder queryParam(String name,
Object... values)
throws IllegalArgumentException
- Specified by:
queryParam
in class javax.ws.rs.core.UriBuilder
- Throws:
IllegalArgumentException
replaceMatrix
public javax.ws.rs.core.UriBuilder replaceMatrix(String matrixValues)
throws IllegalArgumentException
- Specified by:
replaceMatrix
in class javax.ws.rs.core.UriBuilder
- Throws:
IllegalArgumentException
replaceMatrixParam
public javax.ws.rs.core.UriBuilder replaceMatrixParam(String name,
Object... values)
throws IllegalArgumentException
- Specified by:
replaceMatrixParam
in class javax.ws.rs.core.UriBuilder
- Throws:
IllegalArgumentException
replacePath
public javax.ws.rs.core.UriBuilder replacePath(String path)
- Specified by:
replacePath
in class javax.ws.rs.core.UriBuilder
replaceQuery
public javax.ws.rs.core.UriBuilder replaceQuery(String queryValue)
throws IllegalArgumentException
- Specified by:
replaceQuery
in class javax.ws.rs.core.UriBuilder
- Throws:
IllegalArgumentException
replaceQueryParam
public javax.ws.rs.core.UriBuilder replaceQueryParam(String name,
Object... values)
throws IllegalArgumentException
- Specified by:
replaceQueryParam
in class javax.ws.rs.core.UriBuilder
- Throws:
IllegalArgumentException
segment
public javax.ws.rs.core.UriBuilder segment(String... segments)
throws IllegalArgumentException
- Specified by:
segment
in class javax.ws.rs.core.UriBuilder
- Throws:
IllegalArgumentException
Apache CXF