public static class Phase.Resource.Dispatch extends Object implements Dispatch
| Constructor and Description |
|---|
Phase.Resource.Dispatch(juzu.impl.bridge.spi.DispatchBridge delegate) |
| Modifier and Type | Method and Description |
|---|---|
Dispatch |
escapeXML(Boolean escapeXML) |
Phase.Resource.Dispatch |
setParameter(Encoding encoding,
String name,
String value)
Set a parameter on the URL that will be built by this builder.
|
Phase.Resource.Dispatch |
setParameter(Encoding encoding,
String name,
String[] value)
Set a parameter on the URL that will be built by this builder.
|
Phase.Resource.Dispatch |
setParameter(String name,
String value)
Set a parameter on the URL that will be built by this builder.
|
Phase.Resource.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.Resource.Dispatch(juzu.impl.bridge.spi.DispatchBridge delegate)
public final Dispatch with(juzu.impl.common.MimeType mimeType)
public final Dispatch with(PropertyMap properties)
public final <T> Dispatch setProperty(PropertyType<T> propertyType, T propertyValue) throws IllegalArgumentException
DispatchsetProperty in interface DispatchT - the property generic typepropertyType - the property typepropertyValue - the property valueIllegalArgumentException - if the property is not validpublic final Phase.Resource.Dispatch setParameter(String name, String value) throws NullPointerException
DispatchSet 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 Dispatchname - the parameter namevalue - the parameter valueNullPointerException - if the name parameter is nullpublic final Phase.Resource.Dispatch setParameter(Encoding encoding, String name, String value) throws NullPointerException
DispatchSet 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 Dispatchencoding - the character encodingname - the parameter namevalue - the parameter valueNullPointerException - if the name parameter is nullpublic final Phase.Resource.Dispatch setParameter(String name, String[] value) throws NullPointerException, IllegalArgumentException
DispatchsetParameter in interface Dispatchname - 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.Resource.Dispatch setParameter(Encoding encoding, String name, String[] value) throws NullPointerException
DispatchSet 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 Dispatchencoding - the character encodingname - the parameter namevalue - the parameter valueNullPointerException - if the name parameter is nullCopyright © 2017 eXo Platform SAS. All rights reserved.