public class

RequestHandler

extends Object
java.lang.Object
   ↳ com.pdftron.pdf.RequestHandler

Class Overview

RequestHandler is an interface for a custom handler that can be passed into ReflowProcessor.GetReflow, PreviewProcessor.GetBitmap, etc.

Summary

Nested Classes
enum RequestHandler.JobRequestResult Job request result state  
interface RequestHandler.RequestHandlerCallback  
Constants
int JOB_REQUEST_RESULT_CANCEL This constant is deprecated. use CANCELLED instead.
int JOB_REQUEST_RESULT_FAILURE This constant is deprecated. use FAILED instead.
int JOB_REQUEST_RESULT_PACKAGE_ERROR This constant is deprecated. use PACKAGE_ERROR instead.
int JOB_REQUEST_RESULT_POSTPONED This constant is deprecated. use POSTPONED instead.
int JOB_REQUEST_RESULT_PREVIOUS_CRASH This constant is deprecated. use PREVIOUS_CRASH instead.
int JOB_REQUEST_RESULT_SECURITY_ERROR This constant is deprecated. use SECURITY_ERROR instead.
int JOB_REQUEST_RESULT_SUCCESS This constant is deprecated. use FINISHED instead.
Public Constructors
RequestHandler(RequestHandler.RequestHandlerCallback listener)
Public Methods
void removeListener()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int JOB_REQUEST_RESULT_CANCEL

This constant is deprecated.
use CANCELLED instead.

The request was cancelled before it was processed.

Constant Value: 3 (0x00000003)

public static final int JOB_REQUEST_RESULT_FAILURE

This constant is deprecated.
use FAILED instead.

The request could not be retrieved.

Constant Value: 0 (0x00000000)

public static final int JOB_REQUEST_RESULT_PACKAGE_ERROR

This constant is deprecated.
use PACKAGE_ERROR instead.

Failure due to encountering a PDF package

Constant Value: 4 (0x00000004)

public static final int JOB_REQUEST_RESULT_POSTPONED

This constant is deprecated.
use POSTPONED instead.

The request was a duplicate of another finished request

Constant Value: 9 (0x00000009)

public static final int JOB_REQUEST_RESULT_PREVIOUS_CRASH

This constant is deprecated.
use PREVIOUS_CRASH instead.

Abort this request because we've crashed on this file previously

Constant Value: 5 (0x00000005)

public static final int JOB_REQUEST_RESULT_SECURITY_ERROR

This constant is deprecated.
use SECURITY_ERROR instead.

Failure due to password restriction.

Constant Value: 2 (0x00000002)

public static final int JOB_REQUEST_RESULT_SUCCESS

This constant is deprecated.
use FINISHED instead.

Successful retrieval of the request.

Constant Value: 1 (0x00000001)

Public Constructors

public RequestHandler (RequestHandler.RequestHandlerCallback listener)

Public Methods

public void removeListener ()