public UploadApplication(Context context, Restlet appProxy) {
super(context.createChildContext());
this.appProxy = appProxy;
if (this.appProxy==null) {
this.appProxy = new APPProxy(getContext());
}
getContext().getAttributes().put("upload.app", this);
getContext().getAttributes().put("hostnameVerifier", org.apache.commons.ssl.HostnameVerifier.DEFAULT);
getTunnelService().setEnabled(false);