2017

Table Of Contents
USING QUARKXPRESS SERVER
174 | A Guide to QuarkXPress Server 2017
Flush
The flush request handler flushes a document from the cache.
and password.What to do: Use
the user name and password set
in the QuarkXPress Server
Manager client Server
Configuration dialog box.
Logs See “Understanding logging.”
Example GET URL http://localhost:8080/fileinfo/sample.qxp
E
xample, object model
R
equest object name:
FileInfoRequestcom.quark.qxpsm.QRequestContext rc = new
com.quark.qxpsm.QRequestContext();
if(!this.DocumentSettings1.documentName.Text.Equals(“”))
rc.documentName =
this.DocumentSettings1.documentName.Text; rc.request = new
FileInfoRequest(); //Create the service and call it with
QRequestContext object RequestService svc = new
RequestService(); com.quark.qxpsm.QContentData qc =
svc.processRequest(rc);
Notes
If a user name and password have been set in the Server
Configuration dialog box, the browser requests that user name
and password when you submit a fileinfo parameter request.
Namespace flush
Response The message “CACHE FLUSH COMPLETED.”
Alerts
Incorrect administration realm
user name and password.
HTTP Error #401 This alert
displays if you specify an
invalid administrator user name
and password.What to do: Use
the user name and password set
in the QuarkXPress Server
Manager client Server
Configuration dialog box.
Logs See “Understanding logging.”
Example GET URL http://localhost:8080/flush/sample.qxp
Example, object model
Request object name: FlushRequestsdk.QRequestContext rc = new
sdk.QRequestContext();
if(!this.DocumentSettings1.documentName.Text.Equals(“”))
rc.documentName =
this.DocumentSettings1.documentName.Text; rc.request = new
FlushRequest(); //Create the service and call it with
QRequestContext object RequestServiceService svc = new
RequestServiceService(); com.quark.qxpsm.QContentData qc =
svc.processRequest(rc);
Notes
If a user name and password have been set in the Server
Configuration dialog box, the browser requests that user name
and password when you submit a flush parameter request.