| Package | Description |
|---|---|
| org.granite.gravity | |
| org.granite.gravity.websocket | |
| org.granite.util |
| Modifier and Type | Method and Description |
|---|---|
static java.io.ObjectOutput |
GravityServletUtil.newSerializer(GravityInternal gravity,
java.io.OutputStream os,
ContentType contentType) |
protected void |
AbstractGravityServlet.serialize(GravityInternal gravity,
javax.servlet.http.HttpServletResponse response,
Message[] messages,
ContentType contentType) |
static void |
GravityServletUtil.serialize(GravityInternal gravity,
javax.servlet.http.HttpServletResponse response,
Message[] messages,
ContentType contentType) |
| Modifier and Type | Field and Description |
|---|---|
ContentType |
GravityWebSocketConfig.contentType |
| Modifier and Type | Method and Description |
|---|---|
ContentType |
AbstractWebSocketChannel.getContentType() |
static ContentType |
WebSocketUtil.getContentType(java.lang.String contentType,
java.lang.String protocol) |
| Modifier and Type | Method and Description |
|---|---|
static void |
GravityWebSocketConfig.set(java.lang.String connectMessageId,
java.lang.String clientId,
java.lang.String clientType,
ContentType contentType,
javax.servlet.http.HttpSession session) |
void |
AbstractWebSocketChannel.setContentType(ContentType contentType) |
| Modifier and Type | Method and Description |
|---|---|
static ContentType |
ContentType.forMimeType(java.lang.String mimeType)
Lookup the ContentType from a MIME type
|
static ContentType |
ContentType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ContentType[] |
ContentType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|