-
- All Implemented Interfaces:
public final class IppRequest extends IppMessage
-
-
Field Summary
Fields Modifier and Type Field Description private StringhttpUserAgentprivate final URIprinterOrJobUriprivate final StringcodeDescriptionprivate final IppOperationoperationprivate final List<String>requestedAttributesprivate Integercodeprivate IntegerrequestIdprivate Stringversionprivate final List<IppAttributesGroup>attributesGroupsprivate InputStreamdocumentInputStreamprivate ByteArrayrawBytesprivate ByteArraydocumentBytesprivate final IppAttributesGroupoperationGroupprivate final IppAttributesGroupprinterGroupprivate final IppAttributesGroupjobGroupprivate final IppAttributesGroupsubscriptionGroupprivate final CharsetattributesCharsetprivate final StringnaturalLanguageprivate final StringrequestingUserNameprivate final Compressioncompression
-
Constructor Summary
Constructors Constructor Description IppRequest(String userAgent)IppRequest()IppRequest(IppOperation operation, URI printerUri, Collection<String> requestedAttributes, String requestingUserName, String version, Integer requestId, Charset charset, String naturalLanguage, String userAgent)IppRequest(IppOperation operation, URI printerUri, Collection<String> requestedAttributes, String requestingUserName, String version, Integer requestId, Charset charset, String naturalLanguage)IppRequest(IppOperation operation, URI printerUri, Collection<String> requestedAttributes, String requestingUserName, String version, Integer requestId, Charset charset)IppRequest(IppOperation operation, URI printerUri, Collection<String> requestedAttributes, String requestingUserName, String version, Integer requestId)IppRequest(IppOperation operation, URI printerUri, Collection<String> requestedAttributes, String requestingUserName, String version)IppRequest(IppOperation operation, URI printerUri, Collection<String> requestedAttributes, String requestingUserName)IppRequest(IppOperation operation, URI printerUri, Collection<String> requestedAttributes)IppRequest(IppOperation operation, URI printerUri)IppRequest(IppOperation operation)
-
Method Summary
Modifier and Type Method Description final StringgetHttpUserAgent()final UnitsetHttpUserAgent(String httpUserAgent)final URIgetPrinterOrJobUri()StringgetCodeDescription()final IppOperationgetOperation()final List<String>getRequestedAttributes()final IppAttributesGroupcreateSubscriptionAttributesGroup(Collection<String> notifyEvents, Duration notifyLeaseDuration, Duration notifyTimeInterval, Integer notifyJobId)final IppAttributesGroupcreateSubscriptionAttributesGroup(Collection<String> notifyEvents, Duration notifyLeaseDuration, Duration notifyTimeInterval)final IppAttributesGroupcreateSubscriptionAttributesGroup(Collection<String> notifyEvents, Duration notifyLeaseDuration)final IppAttributesGroupcreateSubscriptionAttributesGroup(Collection<String> notifyEvents)final IppAttributesGroupcreateSubscriptionAttributesGroup()final IppRequestdecodeOrThrowIppOperationException(ByteArray byteArray, IppStatus status)final StringconnectionName()StringtoString()-
Methods inherited from class de.gmuth.ipp.core.IppMessage
containsGroup, createAttributesGroup, decode, encode, encode, getAttributeValuesOrNull, getAttributesCharset, getAttributesGroups, getAttributesGroups, getCode, getCompression, getDocumentBytes, getDocumentInputStream, getJobGroup, getNaturalLanguage, getOperationGroup, getPrinterGroup, getRawBytes, getRequestId, getRequestingUserName, getSingleAttributesGroup, getSubscriptionGroup, getVersion, hasDocument, log, log, log, read, read, readBytesAndSaveText, saveBytes, saveDocument, saveText, setCode, setDocumentBytes, setDocumentInputStream, setRawBytes, setRequestId, setVersion, write, write, write, writeBytes, writeDocument, writeText -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
IppRequest
IppRequest(String userAgent)
-
IppRequest
IppRequest()
-
IppRequest
IppRequest(IppOperation operation, URI printerUri, Collection<String> requestedAttributes, String requestingUserName, String version, Integer requestId, Charset charset, String naturalLanguage, String userAgent)
-
IppRequest
IppRequest(IppOperation operation, URI printerUri, Collection<String> requestedAttributes, String requestingUserName, String version, Integer requestId, Charset charset, String naturalLanguage)
-
IppRequest
IppRequest(IppOperation operation, URI printerUri, Collection<String> requestedAttributes, String requestingUserName, String version, Integer requestId, Charset charset)
-
IppRequest
IppRequest(IppOperation operation, URI printerUri, Collection<String> requestedAttributes, String requestingUserName, String version, Integer requestId)
-
IppRequest
IppRequest(IppOperation operation, URI printerUri, Collection<String> requestedAttributes, String requestingUserName, String version)
-
IppRequest
IppRequest(IppOperation operation, URI printerUri, Collection<String> requestedAttributes, String requestingUserName)
-
IppRequest
IppRequest(IppOperation operation, URI printerUri, Collection<String> requestedAttributes)
-
IppRequest
IppRequest(IppOperation operation, URI printerUri)
-
IppRequest
IppRequest(IppOperation operation)
-
-
Method Detail
-
getHttpUserAgent
final String getHttpUserAgent()
-
setHttpUserAgent
final Unit setHttpUserAgent(String httpUserAgent)
-
getPrinterOrJobUri
final URI getPrinterOrJobUri()
-
getCodeDescription
String getCodeDescription()
-
getOperation
final IppOperation getOperation()
-
getRequestedAttributes
final List<String> getRequestedAttributes()
-
createSubscriptionAttributesGroup
@JvmOverloads() final IppAttributesGroup createSubscriptionAttributesGroup(Collection<String> notifyEvents, Duration notifyLeaseDuration, Duration notifyTimeInterval, Integer notifyJobId)
-
createSubscriptionAttributesGroup
@JvmOverloads() final IppAttributesGroup createSubscriptionAttributesGroup(Collection<String> notifyEvents, Duration notifyLeaseDuration, Duration notifyTimeInterval)
-
createSubscriptionAttributesGroup
@JvmOverloads() final IppAttributesGroup createSubscriptionAttributesGroup(Collection<String> notifyEvents, Duration notifyLeaseDuration)
-
createSubscriptionAttributesGroup
@JvmOverloads() final IppAttributesGroup createSubscriptionAttributesGroup(Collection<String> notifyEvents)
-
createSubscriptionAttributesGroup
@JvmOverloads() final IppAttributesGroup createSubscriptionAttributesGroup()
-
decodeOrThrowIppOperationException
final IppRequest decodeOrThrowIppOperationException(ByteArray byteArray, IppStatus status)
-
connectionName
final String connectionName()
-
-
-
-