| Package | Description |
|---|---|
| j4cups.client | |
| j4cups.op |
This is the package for the IPP operations like 'print-job' or
'send-document'.
|
| j4cups.protocol |
This package supports the data types which are described in RFC-2910 and
RFC-8011.
|
| j4cups.server |
If you want to build up your own little CUPS server you find in this
package some lightweight components for this task.
|
| j4cups.server.http |
| Modifier and Type | Method and Description |
|---|---|
IppResponse |
CupsClient.send(IppRequest ippRequest)
Sends the IPP request to CUPS.
|
| Modifier and Type | Method and Description |
|---|---|
protected static IppRequest |
Operation.createIppRequest(IppOperations ippOp) |
IppRequest |
GetPrinterAttributes.getIppRequest()
Gets the IPP request which belongs to this operation.
|
IppRequest |
Operation.getIppRequest()
Gets the IPP request which belongs to this operation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Operation.validateRequest(IppRequest request)
Looks if the given request is valid.
|
void |
PrintJob.validateRequest(IppRequest request)
Looks if the given request is valid.
|
| Constructor and Description |
|---|
CreateJob(IppRequest ippRequest)
Instantiates an operation with the given IPP request.
|
GetPrinterAttributes(IppRequest ippRequest)
Instantiates an operation with the get-printer-attributes id and the
given IPP request.
|
Operation(IppOperations id,
IppRequest ippRequest)
Instantiates an operation with the given id and the given IPP request.
|
| Constructor and Description |
|---|
IppResponse(IppRequest request)
The IppResponse is the response to a IppRequest.
|
| Modifier and Type | Method and Description |
|---|---|
IppResponse |
IppProxyHandler.send(IppRequest ippRequest) |
IppResponse |
IppHandler.send(IppRequest ippRequest)
Sends an IPP request to a CUPS server.
|
| Modifier and Type | Method and Description |
|---|---|
static IppRequest |
IppEntity.toIppRequest(org.apache.http.HttpEntityEnclosingRequest request)
This is a utility method to convert an
HttpEntityEnclosingRequest to an
IppRequest. |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
AbstractIppRequestHandler.handleException(IppRequest ippRequest,
org.apache.http.HttpResponse response,
javax.validation.ValidationException ex)
If a
ValidationException happens the response is filled with
the error message. |
Copyright © 2018–2020. All rights reserved.