|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.restlet.util.Helper
com.noelios.restlet.ConnectorHelper
com.noelios.restlet.ClientHelper
com.noelios.restlet.local.LocalClientHelper
com.noelios.restlet.local.FileClientHelper
com.noelios.restlet.local.WarClientHelper
public class WarClientHelper
Connector to the WAR resources. Here is the list of parameters that are supported:
| warPath | String | ${user.home}/restlet.war | Path to the Web Application WAR file or directory. |
| Constructor Summary | |
|---|---|
WarClientHelper(Client client)
Constructor. |
|
| Method Summary | |
|---|---|
String |
getWarPath()
Returns the Web Application archive file or directory path. |
void |
handle(Request request,
Response response)
Handles a call. |
protected void |
handleWar(Request request,
Response response)
Handles a call using the current Web Application. |
boolean |
isRestrict()
Indicates if the access to the META-INF and WEB-INF directories is restricted. |
void |
setRestrict(boolean restrict)
Indicates if the access to the META-INF and WEB-INF directories is restricted. |
| Methods inherited from class com.noelios.restlet.local.FileClientHelper |
|---|
handleFile |
| Methods inherited from class com.noelios.restlet.local.LocalClientHelper |
|---|
getMetadataService, getTimeToLive, updateMetadata |
| Methods inherited from class com.noelios.restlet.ClientHelper |
|---|
getClient, getContext, getLogger, getParameters |
| Methods inherited from class com.noelios.restlet.ConnectorHelper |
|---|
createContext, getProtocols, start, stop |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WarClientHelper(Client client)
client - The client to help.| Method Detail |
|---|
public void handle(Request request,
Response response)
handle in class FileClientHelperrequest - The request to handle.response - The response to update.
protected void handleWar(Request request,
Response response)
request - The request to handle.response - The response to update.public String getWarPath()
public boolean isRestrict()
public void setRestrict(boolean restrict)
restrict - True if the access is restricted.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||