|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.atmosphere.wasync.ClientFactory
public class ClientFactory
Create a Client. By default, the DefaultClient will be returned. To override the DefaultClient,
just specify the provider using the -Dwasync.client property.
| Constructor Summary | |
|---|---|
ClientFactory()
|
|
| Method Summary | ||
|---|---|---|
static ClientFactory |
getDefault()
Return the default Factory. |
|
Client<? extends Options,? extends OptionsBuilder,? extends RequestBuilder> |
newClient()
Return a new Client instance |
|
|
newClient(Class<? extends Client> clientClass)
Return a new Client instance |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClientFactory()
| Method Detail |
|---|
public static final ClientFactory getDefault()
public Client<? extends Options,? extends OptionsBuilder,? extends RequestBuilder> newClient()
Client instance
Client instancepublic <T extends Client<? extends Options,? extends OptionsBuilder,? extends RequestBuilder>> T newClient(Class<? extends Client> clientClass)
Client instance
clientClass - the runtime instance class of Client instance that is returned
Client instance
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||