public final class IppPrinterRequestHandler extends AbstractIppRequestHandler
| Constructor and Description |
|---|
IppPrinterRequestHandler()
Instantiates the request handler for the printer emulation.
|
IppPrinterRequestHandler(java.nio.file.Path recordDir)
Instantiates the request handler for the printer emulation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
handle(org.apache.http.HttpEntityEnclosingRequest request,
org.apache.http.HttpResponse response)
Handles the request and produces a response to be sent back to
the client.
|
handle, handleExceptionpublic IppPrinterRequestHandler()
public IppPrinterRequestHandler(java.nio.file.Path recordDir)
recordDir - directory, where the requests are loggedpublic void handle(org.apache.http.HttpEntityEnclosingRequest request,
org.apache.http.HttpResponse response)
handle in class AbstractIppRequestHandlerrequest - the HTTP request.response - the HTTP response.Copyright © 2018–2020. All rights reserved.