2020

Table Of Contents
USING QUARKXPRESS SERVER
QException
example, UTF-8 or
ANSI).
actualServerPortUsed String
Identifies the server
port.
actualServerUsed String Identifies the server.
headers String
If the response
returned by the server
is a set of headers, this
array contains the
header response.
multipartResponse String
If the response
returned by the server
is multipart, this array
contains the multipart
response parts.
Example, object
model
QRequestContext context = new QRequestContext();
context.setDocumentName(“sample.qxp”);
context.setResponseAsURL(true); JPEGRenderRequest request = new
JPEGRenderRequest(); request.setJPEGQuality(“4”);
context.setRequest(request); RequestService requestService = new
RequestServiceStub(); QContentData response =
requestService.processRequest(context);
System.out.println(response.getResponseURL());
Description Exception class for QuarkXPress Manager.
Type Exception
Members
Name Types Description
httpResponseCode String HTTP response code.
managerErrorCode String
QuarkXPress Server
Manager error code.
managerErrorMessag
e
String
QuarkXPress Server
Manager localized
error message.
serverErrorCode String
QuarkXPress Server
error code.
serverErrorMessage String
QuarkXPress Server
response message.
serverExtendedMessa
ge
String
QuarkXPress Server
extended error
message.
Example, object
model
String docName = “notexisting.qxp”; try { QRequestContext ctx =
getRequestContext(docName); QRequest request = getJPEGRequest();
ctx.setRequest(ctx); QContentData response =
A GUIDE TO QUARKXPRESS SERVER 2020 | 47