|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjuzu.Response
juzu.Response.View
juzu.request.Phase.View.Dispatch
public static class Phase.View.Dispatch
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class juzu.Response |
|---|
Response.Action, Response.Content<S extends Stream>, Response.Error, Response.Redirect, Response.Render, Response.View |
| Constructor Summary | |
|---|---|
Phase.View.Dispatch(juzu.impl.bridge.spi.DispatchBridge delegate)
|
|
| Method Summary | ||
|---|---|---|
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. |
|
|
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)
|
|
| Methods inherited from class juzu.Response.View |
|---|
with, with, withHeader, withNo, without |
| Methods inherited from class juzu.Response |
|---|
content, content, content, error, error, getProperties, notFound, notFound, ok, ok, redirect |
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Phase.View.Dispatch(juzu.impl.bridge.spi.DispatchBridge delegate)
| Method Detail |
|---|
public Dispatch with(juzu.impl.common.MimeType mimeType)
with in interface Dispatchpublic Dispatch with(PropertyMap properties)
with in interface Dispatchpublic Dispatch escapeXML(Boolean escapeXML)
escapeXML in interface Dispatch
public <T> Dispatch setProperty(PropertyType<T> propertyType,
T propertyValue)
throws IllegalArgumentException
Dispatch
setProperty in interface DispatchT - the property generic typepropertyType - the property typepropertyValue - the property value
IllegalArgumentException - 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
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 value
NullPointerException - if the name parameter is null
public final Phase.View.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 value
NullPointerException - if the name parameter is null
public final Phase.View.Dispatch setParameter(String name,
String[] value)
throws NullPointerException,
IllegalArgumentException
Dispatch
setParameter in interface Dispatchname - the parameter namevalue - the parameter value
NullPointerException - if the name parameter or the value parameter is null
IllegalArgumentException - if any component of the value is null
public final Phase.View.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 value
NullPointerException - if the name parameter is nullpublic boolean equals(Object obj)
equals in class Response.Viewpublic final String toString()
toString in interface DispatchtoString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||