public static class Phase.Action.Dispatch extends Object implements Dispatch
Constructor and Description |
---|
Phase.Action.Dispatch(juzu.impl.bridge.spi.DispatchBridge delegate) |
Modifier and Type | Method and Description |
---|---|
Dispatch |
escapeXML(Boolean escapeXML) |
Phase.Action.Dispatch |
setParameter(Encoding encoding,
String name,
String value)
Set a parameter on the URL that will be built by this builder.
|
Phase.Action.Dispatch |
setParameter(Encoding encoding,
String name,
String[] value)
Set a parameter on the URL that will be built by this builder.
|
Phase.Action.Dispatch |
setParameter(String name,
String value)
Set a parameter on the URL that will be built by this builder.
|
Phase.Action.Dispatch |
setParameter(String name,
String[] value)
Set a parameter.
|
<T> Dispatch |
setProperty(PropertyType<T> propertyType,
T propertyValue)
Set or clear a property of the URL.
|
String |
toString() |
Dispatch |
with(juzu.impl.common.MimeType mimeType) |
Dispatch |
with(PropertyMap properties) |
public Phase.Action.Dispatch(juzu.impl.bridge.spi.DispatchBridge delegate)
public Dispatch with(juzu.impl.common.MimeType mimeType)
public Dispatch with(PropertyMap properties)
public <T> Dispatch setProperty(PropertyType<T> propertyType, T propertyValue) throws IllegalArgumentException
Dispatch
setProperty
in interface Dispatch
T
- the property generic typepropertyType
- the property typepropertyValue
- the property valueIllegalArgumentException
- if the property is not validpublic final Phase.Action.Dispatch setParameter(String name, String value) throws NullPointerException
Dispatch
Set a parameter on the URL that will be built by this builder. This method replaces the parameter with the
given name . A parameter value of null
indicates that this parameter should be removed.
setParameter
in interface Dispatch
name
- the parameter namevalue
- the parameter valueNullPointerException
- if the name parameter is nullpublic final Phase.Action.Dispatch setParameter(Encoding encoding, String name, String value) throws NullPointerException
Dispatch
Set a parameter on the URL that will be built by this builder. This method replaces the parameter with the
given name . A parameter value of null
indicates that this parameter should be removed.
setParameter
in interface Dispatch
encoding
- the character encodingname
- the parameter namevalue
- the parameter valueNullPointerException
- if the name parameter is nullpublic final Phase.Action.Dispatch setParameter(String name, String[] value) throws NullPointerException, IllegalArgumentException
Dispatch
setParameter
in interface Dispatch
name
- the parameter namevalue
- the parameter valueNullPointerException
- if the name parameter or the value parameter is nullIllegalArgumentException
- if any component of the value is nullpublic final Phase.Action.Dispatch setParameter(Encoding encoding, String name, String[] value) throws NullPointerException
Dispatch
Set a parameter on the URL that will be built by this builder. This method replaces the parameter with the
given name . A parameter value of null
indicates that this parameter should be removed.
setParameter
in interface Dispatch
encoding
- the character encodingname
- the parameter namevalue
- the parameter valueNullPointerException
- if the name parameter is nullCopyright © 2015 eXo Platform SAS. All rights reserved.