public abstract class PKDeviceResource
extends org.restlet.resource.ServerResource
| Constructor and Description |
|---|
PKDeviceResource() |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteDeviceRegistrationRequest(org.restlet.representation.Representation entity) |
protected abstract PKSerialNumbersOfPassesForDeviceResponse |
getSerialNumberOfPassesForDevice(String deviceLibraryIdentifier,
String passTypeIdentifier,
String passesUpdatedSince) |
org.restlet.representation.Representation |
getSerialNumbersForPasses(org.restlet.representation.Representation entity) |
protected abstract org.restlet.data.Status |
handleRegisterDeviceRequest(String deviceLibraryIdentifier,
String passTypeIdentifier,
String serialNumber,
String authString,
PKPushToken pkPushToken) |
protected abstract org.restlet.data.Status |
handleUnregisterDeviceRequest(String deviceLibraryIdentifier,
String passTypeIdentifier,
String serialNumber,
org.restlet.data.ChallengeResponse authString) |
void |
registerDeviceRequest(org.restlet.representation.Representation entity) |
abort, commit, delete, delete, describeVariants, doCatch, doConditionalHandle, doError, doHandle, doHandle, doNegotiatedHandle, get, get, getAttribute, getDescription, getInfo, getInfo, getName, getOnSent, getPreferredVariant, getRole, getVariants, getVariants, handle, hasAnnotations, head, head, isAnnotated, isAutoCommitting, isCommitted, isConditional, isExisting, isInRole, isNegotiated, options, options, patch, patch, post, post, put, put, redirectPermanent, redirectPermanent, redirectSeeOther, redirectSeeOther, redirectTemporary, redirectTemporary, setAllowedMethods, setAnnotated, setAttribute, setAutoCommitting, setChallengeRequests, setCommitted, setConditional, setCookieSettings, setDescription, setDimensions, setExisting, setLocationRef, setLocationRef, setName, setNegotiated, setOnSent, setProxyChallengeRequests, setServerInfo, setStatus, setStatus, setStatus, setStatus, updateAllowedMethods, updateDimensionsdoError, doInit, doRelease, getAllowedMethods, getApplication, getChallengeRequests, getChallengeResponse, getClientInfo, getConditions, getConnegService, getContext, getConverterService, getCookies, getCookieSettings, getDimensions, getHostRef, getLocationRef, getLogger, getMatrix, getMatrixValue, getMaxForwards, getMetadataService, getMethod, getOriginalRef, getProtocol, getProxyChallengeRequests, getProxyChallengeResponse, getQuery, getQueryValue, getRanges, getReference, getReferrerRef, getRequest, getRequestAttributes, getRequestCacheDirectives, getRequestEntity, getResponse, getResponseAttributes, getResponseCacheDirectives, getResponseEntity, getRootRef, getServerInfo, getStatus, getStatusService, init, isConfidential, isLoggable, release, setApplication, setQueryValue, setRequest, setResponse, toBoolean, toByte, toDouble, toFloat, toInteger, toLong, toObject, toRepresentation, toRepresentation, toRepresentation, toShort, toString@Get(value="json") public final org.restlet.representation.Representation getSerialNumbersForPasses(org.restlet.representation.Representation entity)
@Post(value="json") public final void registerDeviceRequest(org.restlet.representation.Representation entity)
@Delete(value="json") public final void deleteDeviceRegistrationRequest(org.restlet.representation.Representation entity)
protected abstract org.restlet.data.Status handleRegisterDeviceRequest(String deviceLibraryIdentifier, String passTypeIdentifier, String serialNumber, String authString, PKPushToken pkPushToken) throws PKAuthTokenNotValidException
PKAuthTokenNotValidExceptionprotected abstract org.restlet.data.Status handleUnregisterDeviceRequest(String deviceLibraryIdentifier, String passTypeIdentifier, String serialNumber, org.restlet.data.ChallengeResponse authString) throws PKAuthTokenNotValidException
PKAuthTokenNotValidExceptionprotected abstract PKSerialNumbersOfPassesForDeviceResponse getSerialNumberOfPassesForDevice(String deviceLibraryIdentifier, String passTypeIdentifier, String passesUpdatedSince)
Copyright © 2012–2023. All rights reserved.