public abstract class IppOperation extends Object
| Modifier and Type | Field and Description |
|---|---|
protected short |
bufferSize |
protected int |
ippPort |
protected short |
operationID |
| Constructor and Description |
|---|
IppOperation() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getAttributeValue(Attribute attr) |
ByteBuffer |
getIppHeader(URL url)
Gets the IPP header
|
ByteBuffer |
getIppHeader(URL url,
Map<String,String> map)
Gets the IPP header
|
IppResult |
request(URL url,
Map<String,String> map) |
IppResult |
request(URL url,
Map<String,String> map,
InputStream document) |
protected String |
stripPortNumber(URL url)
Removes the port number in the submitted URL
|
protected short operationID
protected short bufferSize
protected int ippPort
public ByteBuffer getIppHeader(URL url) throws UnsupportedEncodingException
url - UnsupportedEncodingExceptionpublic IppResult request(URL url, Map<String,String> map) throws Exception
Exceptionpublic IppResult request(URL url, Map<String,String> map, InputStream document) throws Exception
Exceptionpublic ByteBuffer getIppHeader(URL url, Map<String,String> map) throws UnsupportedEncodingException
url - map - UnsupportedEncodingExceptionprotected String stripPortNumber(URL url)
url - Copyright © 2016. All rights reserved.