Skip navigation links
A B C D E F G H I L M N O P Q R S T U V W 

A

actionKey(String) - Method in class com.notnoop.apns.PayloadBuilder
Sets the value of action button (the right button to be displayed).
alertAction(String) - Method in class com.notnoop.apns.PayloadBuilder
Sets the alert action text
alertBody(String) - Method in class com.notnoop.apns.PayloadBuilder
Sets the alert body text, the text the appears to the user, to the passed value
alertTitle(String) - Method in class com.notnoop.apns.PayloadBuilder
Sets the alert title text, the text the appears to the user, to the passed value.
Always() - Constructor for class com.notnoop.apns.internal.ReconnectPolicies.Always
 
APNS - Class in com.notnoop.apns
The main class to interact with the APNS Service.
ApnsConnection - Interface in com.notnoop.apns.internal
 
ApnsConnectionImpl - Class in com.notnoop.apns.internal
 
ApnsConnectionImpl(SocketFactory, String, int) - Constructor for class com.notnoop.apns.internal.ApnsConnectionImpl
 
ApnsConnectionImpl(SocketFactory, String, int, Proxy, String, String, ReconnectPolicy, ApnsDelegate, boolean, ThreadFactory, int, boolean, int, int) - Constructor for class com.notnoop.apns.internal.ApnsConnectionImpl
 
ApnsDelegate - Interface in com.notnoop.apns
A delegate that gets notified of the status of notification delivery to the Apple Server.
ApnsDelegateAdapter - Class in com.notnoop.apns
A no operation delegate that does nothing!
ApnsDelegateAdapter() - Constructor for class com.notnoop.apns.ApnsDelegateAdapter
 
ApnsDeliveryErrorException - Exception in com.notnoop.exceptions
 
ApnsDeliveryErrorException(DeliveryError) - Constructor for exception com.notnoop.exceptions.ApnsDeliveryErrorException
 
ApnsException - Exception in com.notnoop.exceptions
Base class for all the exceptions thrown in Apns Library
ApnsException() - Constructor for exception com.notnoop.exceptions.ApnsException
 
ApnsException(String) - Constructor for exception com.notnoop.exceptions.ApnsException
 
ApnsException(Throwable) - Constructor for exception com.notnoop.exceptions.ApnsException
 
ApnsException(String, Throwable) - Constructor for exception com.notnoop.exceptions.ApnsException
 
ApnsFeedbackConnection - Class in com.notnoop.apns.internal
 
ApnsFeedbackConnection(SocketFactory, String, int) - Constructor for class com.notnoop.apns.internal.ApnsFeedbackConnection
 
ApnsFeedbackConnection(SocketFactory, String, int, Proxy, int, int, String, String) - Constructor for class com.notnoop.apns.internal.ApnsFeedbackConnection
 
ApnsNotification - Interface in com.notnoop.apns
Represents an APNS notification to be sent to Apple service.
ApnsPooledConnection - Class in com.notnoop.apns.internal
 
ApnsPooledConnection(ApnsConnection, int) - Constructor for class com.notnoop.apns.internal.ApnsPooledConnection
 
ApnsPooledConnection(ApnsConnection, int, ExecutorService) - Constructor for class com.notnoop.apns.internal.ApnsPooledConnection
 
ApnsService - Interface in com.notnoop.apns
Represents the connection and interface to the Apple APNS servers.
ApnsServiceBuilder - Class in com.notnoop.apns
The class is used to create instances of ApnsService.
ApnsServiceBuilder() - Constructor for class com.notnoop.apns.ApnsServiceBuilder
Constructs a new instance of ApnsServiceBuilder
ApnsServiceImpl - Class in com.notnoop.apns.internal
 
ApnsServiceImpl(ApnsConnection, ApnsFeedbackConnection) - Constructor for class com.notnoop.apns.internal.ApnsServiceImpl
 
asBatched() - Method in class com.notnoop.apns.ApnsServiceBuilder
Construct service which will process notification requests in batch.
asBatched(int, int) - Method in class com.notnoop.apns.ApnsServiceBuilder
Construct service which will process notification requests in batch.
asBatched(int, int, ThreadFactory) - Method in class com.notnoop.apns.ApnsServiceBuilder
Construct service which will process notification requests in batch.
asBatched(int, int, ScheduledExecutorService) - Method in class com.notnoop.apns.ApnsServiceBuilder
Construct service which will process notification requests in batch.
asPool(int) - Method in class com.notnoop.apns.ApnsServiceBuilder
Constructs a pool of connections to the notification servers.
asPool(ExecutorService, int) - Method in class com.notnoop.apns.ApnsServiceBuilder
Constructs a pool of connections to the notification servers.
asQueued() - Method in class com.notnoop.apns.ApnsServiceBuilder
Constructs a new thread with a processing queue to process notification requests.
asQueued(ThreadFactory) - Method in class com.notnoop.apns.ApnsServiceBuilder
Constructs a new thread with a processing queue to process notification requests.

B

badge(int) - Method in class com.notnoop.apns.PayloadBuilder
Sets the notification badge to be displayed next to the application icon.
BatchApnsService - Class in com.notnoop.apns.internal
 
BatchApnsService(ApnsConnection, ApnsFeedbackConnection, int, int, ThreadFactory) - Constructor for class com.notnoop.apns.internal.BatchApnsService
 
BatchApnsService(ApnsConnection, ApnsFeedbackConnection, int, int, ScheduledExecutorService) - Constructor for class com.notnoop.apns.internal.BatchApnsService
 
build() - Method in class com.notnoop.apns.ApnsServiceBuilder
Returns a fully initialized instance of ApnsService, according to the requested settings.
build() - Method in class com.notnoop.apns.internal.SSLContextBuilder
 
build(SSLSocketFactory, Proxy, String, String, String, int) - Method in class com.notnoop.apns.internal.TlsTunnelBuilder
 
build() - Method in class com.notnoop.apns.PayloadBuilder
Returns the JSON String representation of the payload according to Apple APNS specification
buildBytes() - Method in class com.notnoop.apns.PayloadBuilder
Returns the bytes representation of the payload according to Apple APNS specification

C

cacheLengthExceeded(int) - Method in interface com.notnoop.apns.ApnsDelegate
The resend cache needed a bigger size (while resending messages)
cacheLengthExceeded(int) - Method in class com.notnoop.apns.ApnsDelegateAdapter
 
category(String) - Method in class com.notnoop.apns.PayloadBuilder
Sets the category of the notification for iOS8 notification actions.
clearBadge() - Method in class com.notnoop.apns.PayloadBuilder
Requests clearing of the badge number next to the application icon.
close() - Method in class com.notnoop.apns.internal.ApnsConnectionImpl
 
close() - Method in class com.notnoop.apns.internal.ApnsPooledConnection
 
close(Closeable) - Static method in class com.notnoop.apns.internal.Utilities
 
close(Socket) - Static method in class com.notnoop.apns.internal.Utilities
 
code() - Method in enum com.notnoop.apns.DeliveryError
The status code as specified by Apple
com.notnoop.apns - package com.notnoop.apns
 
com.notnoop.apns.internal - package com.notnoop.apns.internal
 
com.notnoop.exceptions - package com.notnoop.exceptions
 
connectionClosed(DeliveryError, int) - Method in interface com.notnoop.apns.ApnsDelegate
The connection was closed and/or an error packet was received while monitoring was turned on.
connectionClosed(DeliveryError, int) - Method in class com.notnoop.apns.ApnsDelegateAdapter
 
copy() - Method in interface com.notnoop.apns.internal.ApnsConnection
 
copy() - Method in class com.notnoop.apns.internal.ApnsConnectionImpl
 
copy() - Method in class com.notnoop.apns.internal.ApnsPooledConnection
 
copy() - Method in class com.notnoop.apns.internal.ReconnectPolicies.Always
 
copy() - Method in class com.notnoop.apns.internal.ReconnectPolicies.EveryHalfHour
 
copy() - Method in class com.notnoop.apns.internal.ReconnectPolicies.Never
 
copy() - Method in class com.notnoop.apns.PayloadBuilder
Returns a copy of this builder
copy() - Method in interface com.notnoop.apns.ReconnectPolicy
Returns a deep copy of this reconnection policy, if needed.
copyOf(byte[]) - Static method in class com.notnoop.apns.internal.Utilities
 
copyOfRange(byte[], int, int) - Static method in class com.notnoop.apns.internal.Utilities
 
customField(String, Object) - Method in class com.notnoop.apns.PayloadBuilder
Sets any application-specific custom fields.
customFields(Map<String, ?>) - Method in class com.notnoop.apns.PayloadBuilder
Set any application-specific custom fields.

D

decodeHex(String) - Static method in class com.notnoop.apns.internal.Utilities
 
DEFAULT_CACHE_LENGTH - Static variable in interface com.notnoop.apns.internal.ApnsConnection
 
DeliveryError - Enum in com.notnoop.apns
Errors in delivery that may get reported by Apple APN servers

E

EMPTY - Static variable in interface com.notnoop.apns.ApnsDelegate
A no operation delegate that does nothing!
encodeHex(byte[]) - Static method in class com.notnoop.apns.internal.Utilities
 
EnhancedApnsNotification - Class in com.notnoop.apns
Represents an APNS notification to be sent to Apple service.
EnhancedApnsNotification(int, int, String, String) - Constructor for class com.notnoop.apns.EnhancedApnsNotification
Constructs an instance of ApnsNotification.
EnhancedApnsNotification(int, int, byte[], byte[]) - Constructor for class com.notnoop.apns.EnhancedApnsNotification
Constructs an instance of ApnsNotification.
equals(Object) - Method in class com.notnoop.apns.EnhancedApnsNotification
 
equals(Object) - Method in class com.notnoop.apns.SimpleApnsNotification
Deprecated.
 
EveryHalfHour() - Constructor for class com.notnoop.apns.internal.ReconnectPolicies.EveryHalfHour
 

F

forNewsstand() - Method in class com.notnoop.apns.PayloadBuilder
Sets the notification type to be a 'newstand' notification.

G

getCacheLength() - Method in interface com.notnoop.apns.internal.ApnsConnection
 
getCacheLength() - Method in class com.notnoop.apns.internal.ApnsConnectionImpl
 
getCacheLength() - Method in class com.notnoop.apns.internal.ApnsPooledConnection
 
getDeliveryError() - Method in exception com.notnoop.exceptions.ApnsDeliveryErrorException
 
getDeviceToken() - Method in interface com.notnoop.apns.ApnsNotification
Returns the binary representation of the device token.
getDeviceToken() - Method in class com.notnoop.apns.EnhancedApnsNotification
Returns the binary representation of the device token.
getDeviceToken() - Method in class com.notnoop.apns.SimpleApnsNotification
Deprecated.
Returns the binary representation of the device token.
getExpiry() - Method in interface com.notnoop.apns.ApnsNotification
Returns the expiry date of the notification, a fixed UNIX epoch date expressed in seconds
getExpiry() - Method in class com.notnoop.apns.EnhancedApnsNotification
 
getExpiry() - Method in class com.notnoop.apns.SimpleApnsNotification
Deprecated.
 
getIdentifier() - Method in interface com.notnoop.apns.ApnsNotification
Returns the identifier of the current message.
getIdentifier() - Method in class com.notnoop.apns.EnhancedApnsNotification
 
getIdentifier() - Method in class com.notnoop.apns.SimpleApnsNotification
Deprecated.
 
getInactiveDevices() - Method in interface com.notnoop.apns.ApnsService
Returns the list of devices that reported failed-delivery attempts to the Apple Feedback services.
getInactiveDevices() - Method in class com.notnoop.apns.internal.ApnsFeedbackConnection
 
getInactiveDevices() - Method in class com.notnoop.apns.internal.QueuedApnsService
 
getInactiveDevicesImpl() - Method in class com.notnoop.apns.internal.ApnsFeedbackConnection
 
getMessage() - Method in exception com.notnoop.exceptions.ApnsDeliveryErrorException
 
getPayload() - Method in interface com.notnoop.apns.ApnsNotification
Returns the binary representation of the payload.
getPayload() - Method in class com.notnoop.apns.EnhancedApnsNotification
Returns the binary representation of the payload.
getPayload() - Method in class com.notnoop.apns.SimpleApnsNotification
Deprecated.
Returns the binary representation of the payload.

H

hashCode() - Method in class com.notnoop.apns.EnhancedApnsNotification
 
hashCode() - Method in class com.notnoop.apns.SimpleApnsNotification
Deprecated.
 

I

INCREMENT_ID() - Static method in class com.notnoop.apns.EnhancedApnsNotification
 
instantDeliveryOrSilentNotification() - Method in class com.notnoop.apns.PayloadBuilder
With iOS7 it is possible to have the application wake up before the user opens the app.
InvalidSSLConfig - Exception in com.notnoop.exceptions
Signals that the the provided SSL context settings (e.g.
InvalidSSLConfig() - Constructor for exception com.notnoop.exceptions.InvalidSSLConfig
 
InvalidSSLConfig(String) - Constructor for exception com.notnoop.exceptions.InvalidSSLConfig
 
InvalidSSLConfig(Throwable) - Constructor for exception com.notnoop.exceptions.InvalidSSLConfig
 
InvalidSSLConfig(String, Throwable) - Constructor for exception com.notnoop.exceptions.InvalidSSLConfig
 
isResend() - Method in exception com.notnoop.exceptions.NetworkIOException
Identifies whether an exception was thrown during a resend of a message or not.
isTooLong() - Method in class com.notnoop.apns.PayloadBuilder
Returns true if the payload built so far is larger than the size permitted by Apple (which is 2048 bytes).

L

launchImage(String) - Method in class com.notnoop.apns.PayloadBuilder
Sets the launch image file for the push notification
length() - Method in class com.notnoop.apns.EnhancedApnsNotification
Returns the length of the message in bytes as it is encoded on the wire.
length() - Method in class com.notnoop.apns.PayloadBuilder
Returns the length of payload bytes once marshaled to bytes
length() - Method in class com.notnoop.apns.SimpleApnsNotification
Deprecated.
Returns the length of the message in bytes as it is encoded on the wire.
localizedArguments(Collection<String>) - Method in class com.notnoop.apns.PayloadBuilder
Sets the arguments for the alert message localizable message.
localizedArguments(String...) - Method in class com.notnoop.apns.PayloadBuilder
Sets the arguments for the alert message localizable message.
localizedKey(String) - Method in class com.notnoop.apns.PayloadBuilder
Set the notification localized key for the alert body message.
localizedTitleArguments(Collection<String>) - Method in class com.notnoop.apns.PayloadBuilder
Sets the arguments for the localizable title key.
localizedTitleArguments(String...) - Method in class com.notnoop.apns.PayloadBuilder
Sets the arguments for the localizable title key.
localizedTitleKey(String) - Method in class com.notnoop.apns.PayloadBuilder
The key to a title string in the Localizable.strings file for the current localization.

M

marshall() - Method in interface com.notnoop.apns.ApnsNotification
Returns the binary representation of the message as expected by the APNS server.
marshall() - Method in class com.notnoop.apns.EnhancedApnsNotification
Returns the binary representation of the message as expected by the APNS server.
marshall(byte, byte[], byte[]) - Static method in class com.notnoop.apns.internal.Utilities
 
marshall() - Method in class com.notnoop.apns.SimpleApnsNotification
Deprecated.
Returns the binary representation of the message as expected by the APNS server.
marshallEnhanced(byte, int, int, byte[], byte[]) - Static method in class com.notnoop.apns.internal.Utilities
 
MAX_PAYLOAD_LENGTH - Static variable in class com.notnoop.apns.internal.Utilities
 
MAXIMUM_EXPIRY - Static variable in class com.notnoop.apns.EnhancedApnsNotification
The infinite future for the purposes of Apple expiry date
mdm(String) - Method in class com.notnoop.apns.PayloadBuilder
 
messageSendFailed(ApnsNotification, Throwable) - Method in interface com.notnoop.apns.ApnsDelegate
Called when the delivery of the message failed for any reason If message is null, then your notification has been rejected by Apple but it has been removed from the cache so it is not possible to identify which notification caused the error.
messageSendFailed(ApnsNotification, Throwable) - Method in class com.notnoop.apns.ApnsDelegateAdapter
 
messageSent(ApnsNotification, boolean) - Method in interface com.notnoop.apns.ApnsDelegate
Called when message was successfully sent to the Apple servers
messageSent(ApnsNotification, boolean) - Method in class com.notnoop.apns.ApnsDelegateAdapter
 

N

NetworkIOException - Exception in com.notnoop.exceptions
Thrown to indicate that that a network operation has failed: (e.g.
NetworkIOException() - Constructor for exception com.notnoop.exceptions.NetworkIOException
 
NetworkIOException(String) - Constructor for exception com.notnoop.exceptions.NetworkIOException
 
NetworkIOException(IOException) - Constructor for exception com.notnoop.exceptions.NetworkIOException
 
NetworkIOException(String, IOException) - Constructor for exception com.notnoop.exceptions.NetworkIOException
 
NetworkIOException(IOException, boolean) - Constructor for exception com.notnoop.exceptions.NetworkIOException
 
Never() - Constructor for class com.notnoop.apns.internal.ReconnectPolicies.Never
 
newPayload() - Static method in class com.notnoop.apns.APNS
Returns a new Payload builder
newPayload() - Static method in class com.notnoop.apns.PayloadBuilder
 
newService() - Static method in class com.notnoop.apns.APNS
Returns a new APNS Service for sending iPhone notifications
noActionButton() - Method in class com.notnoop.apns.PayloadBuilder
Set the notification view to display an action button.
notificationsResent(int) - Method in interface com.notnoop.apns.ApnsDelegate
A number of notifications has been queued for resending due to a error-response packet being received.
notificationsResent(int) - Method in class com.notnoop.apns.ApnsDelegateAdapter
 

O

ofCode(int) - Static method in enum com.notnoop.apns.DeliveryError
Returns the appropriate DeliveryError enum corresponding to the Apple provided status code

P

parseBytes(int, int, int, int) - Static method in class com.notnoop.apns.internal.Utilities
 
parseFeedbackStream(InputStream) - Static method in class com.notnoop.apns.internal.Utilities
 
parseFeedbackStreamRaw(InputStream) - Static method in class com.notnoop.apns.internal.Utilities
 
PayloadBuilder - Class in com.notnoop.apns
Represents a builder for constructing Payload requests, as specified by Apple Push Notification Programming Guide.
PRODUCTION_FEEDBACK_HOST - Static variable in class com.notnoop.apns.internal.Utilities
 
PRODUCTION_FEEDBACK_PORT - Static variable in class com.notnoop.apns.internal.Utilities
 
PRODUCTION_GATEWAY_HOST - Static variable in class com.notnoop.apns.internal.Utilities
 
PRODUCTION_GATEWAY_PORT - Static variable in class com.notnoop.apns.internal.Utilities
 
push(String, String) - Method in interface com.notnoop.apns.ApnsService
Sends a push notification with the provided payload to the iPhone of deviceToken.
push(String, String, Date) - Method in interface com.notnoop.apns.ApnsService
 
push(byte[], byte[]) - Method in interface com.notnoop.apns.ApnsService
Sends a push notification with the provided payload to the iPhone of deviceToken.
push(byte[], byte[], int) - Method in interface com.notnoop.apns.ApnsService
 
push(Collection<String>, String) - Method in interface com.notnoop.apns.ApnsService
Sends a bulk push notification with the provided payload to iPhone of deviceTokens set.
push(Collection<String>, String, Date) - Method in interface com.notnoop.apns.ApnsService
 
push(Collection<byte[]>, byte[]) - Method in interface com.notnoop.apns.ApnsService
Sends a bulk push notification with the provided payload to iPhone of deviceTokens set.
push(Collection<byte[]>, byte[], int) - Method in interface com.notnoop.apns.ApnsService
 
push(ApnsNotification) - Method in interface com.notnoop.apns.ApnsService
Sends the provided notification message to the desired destination.
push(ApnsNotification) - Method in class com.notnoop.apns.internal.ApnsServiceImpl
 
push(ApnsNotification) - Method in class com.notnoop.apns.internal.BatchApnsService
 
push(ApnsNotification) - Method in class com.notnoop.apns.internal.QueuedApnsService
 

Q

QueuedApnsService - Class in com.notnoop.apns.internal
 
QueuedApnsService(ApnsService) - Constructor for class com.notnoop.apns.internal.QueuedApnsService
 
QueuedApnsService(ApnsService, ThreadFactory) - Constructor for class com.notnoop.apns.internal.QueuedApnsService
 

R

reconnected() - Method in class com.notnoop.apns.internal.ReconnectPolicies.Always
 
reconnected() - Method in class com.notnoop.apns.internal.ReconnectPolicies.EveryHalfHour
 
reconnected() - Method in class com.notnoop.apns.internal.ReconnectPolicies.Never
 
reconnected() - Method in interface com.notnoop.apns.ReconnectPolicy
Callback method to be called whenever the library makes a new connection
ReconnectPolicies - Class in com.notnoop.apns.internal
 
ReconnectPolicies() - Constructor for class com.notnoop.apns.internal.ReconnectPolicies
 
ReconnectPolicies.Always - Class in com.notnoop.apns.internal
 
ReconnectPolicies.EveryHalfHour - Class in com.notnoop.apns.internal
 
ReconnectPolicies.Never - Class in com.notnoop.apns.internal
 
ReconnectPolicy - Interface in com.notnoop.apns
Represents the reconnection policy for the library.
ReconnectPolicy.Provided - Enum in com.notnoop.apns
Types of the library provided reconnection policies.
resizeAlertBody(int) - Method in class com.notnoop.apns.PayloadBuilder
Shrinks the alert message body so that the resulting payload message fits within the passed expected payload length.
resizeAlertBody(int, String) - Method in class com.notnoop.apns.PayloadBuilder
Shrinks the alert message body so that the resulting payload message fits within the passed expected payload length.
RuntimeIOException - Exception in com.notnoop.exceptions
Signals that an I/O exception of some sort has occurred.
RuntimeIOException() - Constructor for exception com.notnoop.exceptions.RuntimeIOException
 
RuntimeIOException(String) - Constructor for exception com.notnoop.exceptions.RuntimeIOException
 
RuntimeIOException(IOException) - Constructor for exception com.notnoop.exceptions.RuntimeIOException
 
RuntimeIOException(String, IOException) - Constructor for exception com.notnoop.exceptions.RuntimeIOException
 

S

SANDBOX_FEEDBACK_HOST - Static variable in class com.notnoop.apns.internal.Utilities
 
SANDBOX_FEEDBACK_PORT - Static variable in class com.notnoop.apns.internal.Utilities
 
SANDBOX_GATEWAY_HOST - Static variable in class com.notnoop.apns.internal.Utilities
 
SANDBOX_GATEWAY_PORT - Static variable in class com.notnoop.apns.internal.Utilities
 
sendMessage(ApnsNotification) - Method in interface com.notnoop.apns.internal.ApnsConnection
 
sendMessage(ApnsNotification) - Method in class com.notnoop.apns.internal.ApnsConnectionImpl
 
sendMessage(ApnsNotification) - Method in class com.notnoop.apns.internal.ApnsPooledConnection
 
setCacheLength(int) - Method in interface com.notnoop.apns.internal.ApnsConnection
 
setCacheLength(int) - Method in class com.notnoop.apns.internal.ApnsConnectionImpl
 
setCacheLength(int) - Method in class com.notnoop.apns.internal.ApnsPooledConnection
 
shouldReconnect() - Method in class com.notnoop.apns.internal.ReconnectPolicies.Always
 
shouldReconnect() - Method in class com.notnoop.apns.internal.ReconnectPolicies.EveryHalfHour
 
shouldReconnect() - Method in class com.notnoop.apns.internal.ReconnectPolicies.Never
 
shouldReconnect() - Method in interface com.notnoop.apns.ReconnectPolicy
Returns true if the library should initiate a new connection for sending the message.
shrinkBody() - Method in class com.notnoop.apns.PayloadBuilder
Shrinks the alert message body so that the resulting payload message fits within require Apple specification (2048 bytes).
shrinkBody(String) - Method in class com.notnoop.apns.PayloadBuilder
Shrinks the alert message body so that the resulting payload message fits within require Apple specification (2048 bytes).
SimpleApnsNotification - Class in com.notnoop.apns
Deprecated.
use EnhancedApnsNotification instead.
SimpleApnsNotification(String, String) - Constructor for class com.notnoop.apns.SimpleApnsNotification
Deprecated.
Constructs an instance of ApnsNotification.
SimpleApnsNotification(byte[], byte[]) - Constructor for class com.notnoop.apns.SimpleApnsNotification
Deprecated.
Constructs an instance of ApnsNotification.
sleep(int) - Static method in class com.notnoop.apns.internal.Utilities
 
sound(String) - Method in class com.notnoop.apns.PayloadBuilder
Sets the alert sound to be played.
SSLContextBuilder - Class in com.notnoop.apns.internal
 
SSLContextBuilder() - Constructor for class com.notnoop.apns.internal.SSLContextBuilder
 
start() - Method in interface com.notnoop.apns.ApnsService
Starts the service.
start() - Method in class com.notnoop.apns.internal.ApnsServiceImpl
 
start() - Method in class com.notnoop.apns.internal.BatchApnsService
 
start() - Method in class com.notnoop.apns.internal.QueuedApnsService
 
startSending(ApnsNotification, boolean) - Method in interface com.notnoop.apns.StartSendingApnsDelegate
Called when message is about to be sent to the Apple servers.
StartSendingApnsDelegate - Interface in com.notnoop.apns
A delegate that also gets notified just before a notification is being delivered to the Apple Server.
stop() - Method in interface com.notnoop.apns.ApnsService
Stops the service and frees any allocated resources it created for this service.
stop() - Method in class com.notnoop.apns.internal.ApnsServiceImpl
 
stop() - Method in class com.notnoop.apns.internal.BatchApnsService
 
stop() - Method in class com.notnoop.apns.internal.QueuedApnsService
 

T

testConnection() - Method in interface com.notnoop.apns.ApnsService
Test that the service is setup properly and the Apple servers are reachable.
testConnection() - Method in interface com.notnoop.apns.internal.ApnsConnection
 
testConnection() - Method in class com.notnoop.apns.internal.ApnsConnectionImpl
 
testConnection() - Method in class com.notnoop.apns.internal.ApnsPooledConnection
 
testConnection() - Method in class com.notnoop.apns.internal.ApnsServiceImpl
 
testConnection() - Method in class com.notnoop.apns.internal.BatchApnsService
 
testConnection() - Method in class com.notnoop.apns.internal.QueuedApnsService
 
TlsTunnelBuilder - Class in com.notnoop.apns.internal
Establishes a TLS connection using an HTTP proxy.
TlsTunnelBuilder() - Constructor for class com.notnoop.apns.internal.TlsTunnelBuilder
 
toString() - Method in class com.notnoop.apns.EnhancedApnsNotification
 
toString() - Method in class com.notnoop.apns.PayloadBuilder
 
toString() - Method in class com.notnoop.apns.SimpleApnsNotification
Deprecated.
 
toUTF8Bytes(String) - Static method in class com.notnoop.apns.internal.Utilities
 
truncateWhenUTF8(String, int) - Static method in class com.notnoop.apns.internal.Utilities
 

U

urlArgs(String...) - Method in class com.notnoop.apns.PayloadBuilder
Sets the "url-args" key that are paired with the placeholders inside the urlFormatString value of your website.json file.
Utilities - Class in com.notnoop.apns.internal
 

V

valueOf(String) - Static method in enum com.notnoop.apns.DeliveryError
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.notnoop.apns.ReconnectPolicy.Provided
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.notnoop.apns.DeliveryError
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.notnoop.apns.ReconnectPolicy.Provided
Returns an array containing the constants of this enum type, in the order they are declared.

W

withAlgorithm(String) - Method in class com.notnoop.apns.internal.SSLContextBuilder
 
withAppleDestination(boolean) - Method in class com.notnoop.apns.ApnsServiceBuilder
Specify to use Apple servers as iPhone gateway and feedback servers.
withAuthProxy(Proxy, String, String) - Method in class com.notnoop.apns.ApnsServiceBuilder
Specify the proxy and the authentication parameters to be used to establish the connections to Apple Servers.
withAutoAdjustCacheLength(boolean) - Method in class com.notnoop.apns.ApnsServiceBuilder
Specify if the notification cache should auto adjust.
withCacheLength(int) - Method in class com.notnoop.apns.ApnsServiceBuilder
Specify the number of notifications to cache for error purposes.
withCert(String, String) - Method in class com.notnoop.apns.ApnsServiceBuilder
Specify the certificate used to connect to Apple APNS servers.
withCert(InputStream, String) - Method in class com.notnoop.apns.ApnsServiceBuilder
Specify the certificate used to connect to Apple APNS servers.
withCert(KeyStore, String) - Method in class com.notnoop.apns.ApnsServiceBuilder
Specify the certificate used to connect to Apple APNS servers.
withCert(InputStream, String, String) - Method in class com.notnoop.apns.ApnsServiceBuilder
Specify the certificate store used to connect to Apple APNS servers.
withCert(KeyStore, String, String) - Method in class com.notnoop.apns.ApnsServiceBuilder
Specify the certificate store used to connect to Apple APNS servers.
withCertificateKeyStore(InputStream, String, String) - Method in class com.notnoop.apns.internal.SSLContextBuilder
 
withCertificateKeyStore(InputStream, String, String, String) - Method in class com.notnoop.apns.internal.SSLContextBuilder
 
withCertificateKeyStore(KeyStore, String) - Method in class com.notnoop.apns.internal.SSLContextBuilder
 
withCertificateKeyStore(KeyStore, String, String) - Method in class com.notnoop.apns.internal.SSLContextBuilder
 
withConnectTimeout(int) - Method in class com.notnoop.apns.ApnsServiceBuilder
Specify the timeout value to use for connectionTimeout in created sockets, for both feedback and push connections, in milliseconds.
withDefaultTrustKeyStore() - Method in class com.notnoop.apns.internal.SSLContextBuilder
 
withDelegate(ApnsDelegate) - Method in class com.notnoop.apns.ApnsServiceBuilder
Sets the delegate of the service, that gets notified of the status of message delivery.
withErrorDetectionThreadFactory(ThreadFactory) - Method in class com.notnoop.apns.ApnsServiceBuilder
Provide a custom source for threads used for monitoring connections.
withFeedbackDestination(String, int) - Method in class com.notnoop.apns.ApnsServiceBuilder
Specify the Feedback for getting failed devices from Apple iPhone Push servers.
withGatewayDestination(String, int) - Method in class com.notnoop.apns.ApnsServiceBuilder
Specify the gateway server for sending Apple iPhone notifications.
withNoErrorDetection() - Method in class com.notnoop.apns.ApnsServiceBuilder
Disables the enhanced error detection, enabled by the enhanced push notification interface.
withProductionDestination() - Method in class com.notnoop.apns.ApnsServiceBuilder
Specify to use the Apple Production servers as iPhone gateway and feedback servers.
withProxy(Proxy) - Method in class com.notnoop.apns.ApnsServiceBuilder
Specify the proxy to be used to establish the connections to Apple Servers
withProxySocket(Socket) - Method in class com.notnoop.apns.ApnsServiceBuilder
Deprecated.
withReadTimeout(int) - Method in class com.notnoop.apns.ApnsServiceBuilder
Specify the timeout value to be set in new setSoTimeout in created sockets, for both feedback and push connections, in milliseconds.
withReconnectPolicy(ReconnectPolicy) - Method in class com.notnoop.apns.ApnsServiceBuilder
Specify the reconnection policy for the socket connection.
withReconnectPolicy(ReconnectPolicy.Provided) - Method in class com.notnoop.apns.ApnsServiceBuilder
Specify the reconnection policy for the socket connection.
withSandboxDestination() - Method in class com.notnoop.apns.ApnsServiceBuilder
Specify to use the Apple sandbox servers as iPhone gateway and feedback servers.
withSocksProxy(String, int) - Method in class com.notnoop.apns.ApnsServiceBuilder
Specify the address of the SOCKS proxy the connection should use.
withSSLContext(SSLContext) - Method in class com.notnoop.apns.ApnsServiceBuilder
Specify the SSLContext that should be used to initiate the connection to Apple Server.
withTrustKeyStore(InputStream, String, String) - Method in class com.notnoop.apns.internal.SSLContextBuilder
 
withTrustKeyStore(KeyStore, String) - Method in class com.notnoop.apns.internal.SSLContextBuilder
 
withTrustManager(TrustManager) - Method in class com.notnoop.apns.internal.SSLContextBuilder
 
wrapAndThrowAsRuntimeException(Exception) - Static method in class com.notnoop.apns.internal.Utilities
 
A B C D E F G H I L M N O P Q R S T U V W 
Skip navigation links

Copyright © 2015. All rights reserved.