public static class Phase.View.Dispatch extends Response.View implements Dispatch
Response.Body, Response.Content, Response.Error, Response.Redirect, Response.Status, Response.View
Constructor and Description |
---|
Phase.View.Dispatch(juzu.impl.bridge.spi.DispatchBridge delegate) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Dispatch |
escapeXML(Boolean escapeXML) |
Map<String,ResponseParameter> |
getParameters() |
juzu.impl.common.MethodHandle |
getTarget() |
Phase.View.Dispatch |
setParameter(Encoding encoding,
String name,
String value)
Set a parameter on the URL that will be built by this builder.
|
Phase.View.Dispatch |
setParameter(Encoding encoding,
String name,
String[] value)
Set a parameter on the URL that will be built by this builder.
|
Phase.View.Dispatch |
setParameter(String name,
String value)
Set a parameter on the URL that will be built by this builder.
|
Phase.View.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) |
with, with, withHeader, withNo, without
public Phase.View.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 Map<String,ResponseParameter> getParameters()
public juzu.impl.common.MethodHandle getTarget()
public final Phase.View.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.View.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.View.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.View.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 boolean equals(Object obj)
equals
in class Response.View
Copyright © 2015 eXo Platform SAS. All rights reserved.