| java.lang.Object org.wings.SimpleURL org.wings.RequestURL
All known Subclasses: org.wings.PortletRequestURL,
RequestURL | public class RequestURL extends SimpleURL (Code) | | Handles a HTTP GET Address that can be updated with additional parameters.
author: Armin Haaf |
RequestURL | public RequestURL()(Code) | | |
addParameter | public RequestURL addParameter(String parameter)(Code) | | Add an additional parameter to be included in the GET paramter
list. Usually, this paramter will be in the form 'name=value'.
Parameters: parameter - to be included in the GET parameters. a reference to this to simplify 'call chaining' |
addParameter | public RequestURL addParameter(String name, String value)(Code) | | Add an additional name/value pair to be included in the GET paramter
list. The added parameter will be 'name=value'
Parameters: name - the name of the parameter Parameters: value - the value of the parameter a reference to this to simplify 'call chaining' |
addParameter | public RequestURL addParameter(LowLevelEventListener comp, String value)(Code) | | Add an additional name/value pair to be included in the GET paramter
list. The added name will be the LowLevelEventId of the LowLevelEventListener.
Parameters: value - the value of the parameter a reference to this to simplify 'call chaining' |
addParameter | public RequestURL addParameter(String name, int value)(Code) | | Add an additional name/value pair to be included in the GET paramter
list. The added parameter will be 'name=value'
Parameters: name - the name of the parameter Parameters: value - the value of the parameter a reference to this to simplify 'call chaining' |
clone | public Object clone()(Code) | | Deep copy.
object with cloned contents |
toString | public String toString()(Code) | | Returns the string representation of the context URL plus
all paramters given.
|
write | public void write(Device d) throws IOException(Code) | | Writes the context Address to the output Device. Appends all
parameters given. Only the context URL is given, since all GET urls generated
by wings are relative to the WingS servlet.
Tries to avoid charset conversion as much as possible by precalculating the
byteArray representation of the non-parameter part.
Parameters: d - the Device to write to |
|
|