com.pusher.client
Class PusherOptions

java.lang.Object
  extended by com.pusher.client.PusherOptions

public class PusherOptions
extends Object

Options to be used with a Pusher instance.


Constructor Summary
PusherOptions()
           
 
Method Summary
 Authorizer getAuthorizer()
          Gets the authorizer to be used when authenticating private and presence channels.
 boolean isEncrypted()
          Gets whether an encrypted (SSL) connection should be used when connecting to Pusher.
 PusherOptions setAuthorizer(Authorizer authorizer)
          Sets the authorizer to be used when authenticating private and presence channels.
 PusherOptions setEncrypted(boolean encrypted)
          Sets an encrypted (SSL) connection should be used when connecting to Pusher.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PusherOptions

public PusherOptions()
Method Detail

isEncrypted

public boolean isEncrypted()
Gets whether an encrypted (SSL) connection should be used when connecting to Pusher.

Returns:
true if an encrypted connection should be used; otherwise false.

setEncrypted

public PusherOptions setEncrypted(boolean encrypted)
Sets an encrypted (SSL) connection should be used when connecting to Pusher.

Parameters:
encrypted -
Returns:
this, for chaining

getAuthorizer

public Authorizer getAuthorizer()
Gets the authorizer to be used when authenticating private and presence channels.

Returns:
the authorizer

setAuthorizer

public PusherOptions setAuthorizer(Authorizer authorizer)
Sets the authorizer to be used when authenticating private and presence channels.

Parameters:
authorizer - The authorizer to be used.
Returns:
this, for chaining


Copyright © 2013 Pusher. All Rights Reserved.