| com.noelios.restlet.local.LocalClientHelper com.noelios.restlet.local.FileClientHelper com.noelios.restlet.local.WarClientHelper
All known Subclasses: com.noelios.restlet.ext.servlet.ServletWarClientHelper,
WarClientHelper | public class WarClientHelper extends FileClientHelper (Code) | | 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. |
author: Jerome Louvel (contact@noelios.com) |
Method Summary | |
public String | getWarPath() Returns the Web Application archive file or directory path. | public void | handle(Request request, Response response) Handles a call. | protected void | handleWar(Request request, Response response) Handles a call using the current Web Application. | public boolean | isRestrict() Indicates if the access to the META-INF and WEB-INF directories is
restricted. | public void | setRestrict(boolean restrict) Indicates if the access to the META-INF and WEB-INF directories is
restricted. |
WarClientHelper | public WarClientHelper(Client client)(Code) | | Constructor. Note that the common list of metadata associations based on
extensions is added, see the addCommonExtensions() method.
Parameters: client - The client to help. |
getWarPath | public String getWarPath()(Code) | | Returns the Web Application archive file or directory path.
The Web Application archive file or directory path. |
handle | public void handle(Request request, Response response)(Code) | | Handles a call.
Parameters: request - The request to handle. Parameters: response - The response to update. |
handleWar | protected void handleWar(Request request, Response response)(Code) | | Handles a call using the current Web Application.
Parameters: request - The request to handle. Parameters: response - The response to update. |
isRestrict | public boolean isRestrict()(Code) | | Indicates if the access to the META-INF and WEB-INF directories is
restricted. False by default.
True if the access is restricted. |
setRestrict | public void setRestrict(boolean restrict)(Code) | | Indicates if the access to the META-INF and WEB-INF directories is
restricted.
Parameters: restrict - True if the access is restricted. |
|
|