public final class UriQuery extends Object
Copyright (c) SAP AG 2001-2002
Modifier and Type | Class and Description |
---|---|
static class |
UriQuery.Parameter
Keeps one query parameter.
|
Constructor and Description |
---|
UriQuery()
Construct an empty query.
|
Modifier and Type | Method and Description |
---|---|
void |
add(String name,
String value)
Adds a new parameter to the end of the query
|
void |
clear()
Remove all parameters from the query.
|
UriQuery.Parameter |
get(int index)
Get the Parameter at given index
|
Iterator |
iterator()
Get iterator to iterate over all parameters
|
void |
remove(String name)
Removes all occurances of parameter with given name.
|
void |
set(List parameter)
Sets query to given list of parameters.
|
void |
set(String name,
String value)
Sets first occurance of parameter name to given value.
|
int |
size()
Return number of parameters.
|
String |
toExternalForm()
Convert query back to its RFC 2396 encoded form.
|
String |
toString()
TBD: Description of the Method.
|
static UriQuery |
valueOf(String query)
Get an object for manipulating the given query string.
|
public static UriQuery valueOf(String query)
query
- the query from an uripublic String toString()
public String toExternalForm()
public void add(String name, String value)
name
- of parametervalue
- of parameter or null
if not presentpublic void remove(String name)
name
- to removepublic void clear()
public Iterator iterator()
UriQuery.Parameter
spublic void set(String name, String value)
name
- of parametervalue
- of parameter or null
if not presentpublic void set(List parameter)
parameter
- TBD: Description of the incoming method parameterpublic int size()
public UriQuery.Parameter get(int index) throws IndexOutOfBoundsException
index
- of parameter to getIndexOutOfBoundsException
- when index not availableAccess Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice