|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.craftforge.essential.client.LocalClient
public class LocalClient
A local client performs client requests locally against via a controller.
| Constructor Summary | |
|---|---|
LocalClient(String packagePath)
Creates a local client and initializes a controller for resource classes in the given package path. |
|
LocalClient(String packagePath,
Configuration config)
Creates a local client and initializes a controller for resource classes in the given package path. |
|
| Method Summary | |
|---|---|
ClientResponse |
performRequest(ClientRequest clientRequest)
Performs a local request by delegating the client request to the used controller. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LocalClient(String packagePath)
packagePath - The package path
public LocalClient(String packagePath,
Configuration config)
packagePath - The package pathconfig - The controller configuration| Method Detail |
|---|
public ClientResponse performRequest(ClientRequest clientRequest)
performRequest in interface ClientclientRequest - The client request
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||