Asynchronous Http Client 1.8.0-SNAPSHOT
Package Index
|
Class Index
com.ning.http.client
com.ning.http.client.consumers
com.ning.http.client.extra
com.ning.http.client.filter
com.ning.http.client.generators
com.ning.http.client.listenable
com.ning.http.client.listener
com.ning.http.client.ntlm
com.ning.http.client.oauth
com.ning.http.client.providers.apache
com.ning.http.client.providers.grizzly
com.ning.http.client.providers.jdk
com.ning.http.client.providers.netty
com.ning.http.client.providers.netty.spnego
com.ning.http.client.resumable
com.ning.http.client.simple
com.ning.http.client.webdav
com.ning.http.client.websocket
com.ning.http.multipart
com.ning.http.util
Interfaces
Protocol
Classes
NettyAsyncHttpProvider
NettyAsyncHttpProvider.OptimizedFileRegion
NettyAsyncHttpProvider.ThreadLocalBoolean
NettyAsyncHttpProviderConfig
NettyConnectionsPool
NettyResponse
NettyResponseFuture
<V>
NettyWebSocket
ResponseBodyPart
ResponseHeaders
ResponseStatus
WebSocketUtil
Package Index
|
Class Index
Summary:
Constants
|
Ctors
|
Methods
|
Inherited Methods
|
[Expand All]
public final class
WebSocketUtil
extends Object
java.lang.Object
↳
com.ning.http.client.providers.netty.WebSocketUtil
Summary
Constants
String
MAGIC_GUID
Public Constructors
WebSocketUtil
()
Public Methods
static String
base64Encode
(byte[] bytes)
static byte[]
createRandomBytes
(int size)
static int
createRandomNumber
(int min, int max)
static String
getAcceptKey
(String key)
static String
getKey
()
static byte[]
md5
(byte[] bytes)
static byte[]
sha1
(byte[] bytes)
[Expand]
Inherited Methods
From class java.lang.Object
Object
clone
()
boolean
equals
(Object arg0)
void
finalize
()
final Class<?>
getClass
()
int
hashCode
()
final void
notify
()
final void
notifyAll
()
String
toString
()
final void
wait
()
final void
wait
(long arg0)
final void
wait
(long arg0, int arg1)
Constants
public static final String
MAGIC_GUID
Constant Value:
"258EAFA5-E914-47DA-95CA-C5AB0DC85B11"
Public Constructors
public
WebSocketUtil
()
Public Methods
public static String
base64Encode
(byte[] bytes)
public static byte[]
createRandomBytes
(int size)
public static int
createRandomNumber
(int min, int max)
public static String
getAcceptKey
(String key)
Throws
UnsupportedEncodingException
public static String
getKey
()
public static byte[]
md5
(byte[] bytes)
public static byte[]
sha1
(byte[] bytes)