com.gwtplatform.mvp.client.proxy
Class PlaceRequest.Builder
java.lang.Object
com.gwtplatform.mvp.client.proxy.PlaceRequest.Builder
- Enclosing class:
- PlaceRequest
public static final class PlaceRequest.Builder
- extends Object
Class for constructing PlaceRequest
s. This class supports all currently
existing constructors and the PlaceRequest.with(String, String)
method.
It is not checked if any of the builder parameters are set when calling the build()
method as is
currently also possible to construct an empty PlaceRequest
(see PlaceRequest.PlaceRequest()
)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlaceRequest.Builder
public PlaceRequest.Builder()
- Constructor which will not initialize any internal variables; this should be done by calling either
nameToken(String)
, with(String, String)
or with(java.util.Map)
method, e.g.
PlaceRequest request = new PlaceRequest.Builder().nameToken("nameToken").build();
PlaceRequest.Builder
public PlaceRequest.Builder(PlaceRequest request)
- 'Copy' constructor for initializing a new
PlaceRequest.Builder
with data from an existing
PlaceRequest
, e.g.
PlaceRequest request = placeManager.getCurrentPlaceRequest();
PlaceRequest newRequest = new PlaceRequest.Builder(request).with("newParameter", "newValue").build();
nameToken
public PlaceRequest.Builder nameToken(String nameToken)
with
public PlaceRequest.Builder with(String name,
String value)
with
public PlaceRequest.Builder with(Map<String,String> params)
build
public PlaceRequest build()
Copyright © 2010-2013 ArcBees. All Rights Reserved.