Package com.pusher.client.util
Class UrlEncodedConnectionFactory
- java.lang.Object
-
- com.pusher.client.util.ConnectionFactory
-
- com.pusher.client.util.UrlEncodedConnectionFactory
-
public class UrlEncodedConnectionFactory extends ConnectionFactory
Form URL-Encoded Connection FactoryAllows HttpChannelAuthorizer to write URL parameters to the connection
-
-
Constructor Summary
Constructors Constructor Description UrlEncodedConnectionFactory()Create a Form URL-encoded factoryUrlEncodedConnectionFactory(java.util.Map<java.lang.String,java.lang.String> queryStringParameters)Create a Form URL-encoded factory
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetBody()java.lang.StringgetCharset()java.lang.StringgetContentType()-
Methods inherited from class com.pusher.client.util.ConnectionFactory
getChannelName, getSocketId, setChannelName, setSocketId
-
-
-
-
Constructor Detail
-
UrlEncodedConnectionFactory
public UrlEncodedConnectionFactory()
Create a Form URL-encoded factory
-
UrlEncodedConnectionFactory
public UrlEncodedConnectionFactory(java.util.Map<java.lang.String,java.lang.String> queryStringParameters)
Create a Form URL-encoded factory- Parameters:
queryStringParameters- extra parameters that need to be added to query string.
-
-
Method Detail
-
getCharset
public java.lang.String getCharset()
- Specified by:
getCharsetin classConnectionFactory
-
getContentType
public java.lang.String getContentType()
- Specified by:
getContentTypein classConnectionFactory
-
getBody
public java.lang.String getBody()
- Specified by:
getBodyin classConnectionFactory
-
-