Top Description Fields Constructors Methods
org.springframework.web.socket.sockjs.frame

public Class DefaultSockJsFrameFormat

extends Object
implements SockJsFrameFormat
Class Inheritance
All Implemented Interfaces
org.springframework.web.socket.sockjs.frame.SockJsFrameFormat
Imports
org.springframework.util.Assert

A default implementation of org.springframework.web.socket.sockjs.frame.SockJsFrameFormat that relies on java.lang.String#format(String, Object...)..
Author
Rossen Stoyanchev
Since
4.0

Field Summary

Modifier and TypeField and Description
private final String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
protected String
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

formatback to summary
private final String format

Constructor Detail

DefaultSockJsFrameFormatback to summary
public DefaultSockJsFrameFormat(String format)

Method Detail

formatback to summary
public String format(SockJsFrame frame)

Implements org.springframework.web.socket.sockjs.frame.SockJsFrameFormat.format.

Annotations
@Override
preProcessContentback to summary
protected String preProcessContent(String content)