Class SubprotocolBuilderUtil
- java.lang.Object
-
- org.wso2.carbon.inbound.endpoint.protocol.websocket.SubprotocolBuilderUtil
-
public class SubprotocolBuilderUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description SubprotocolBuilderUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
buildSubprotocolString(ArrayList<String> contentType, ArrayList<String> otherSubprotocols)
static String
contentTypeToSyanapeSubprotocol(String contentType)
static String
extractSynapseSubprotocol(String combinedSubprotocol)
static ArrayList<AbstractSubprotocolHandler>
stringToSubprotocolHandlers(String handlerClasses)
static String
syanapeSubprotocolToContentType(String subprotocol)
-
-
-
Method Detail
-
buildSubprotocolString
public static String buildSubprotocolString(ArrayList<String> contentType, ArrayList<String> otherSubprotocols)
-
syanapeSubprotocolToContentType
public static String syanapeSubprotocolToContentType(String subprotocol)
-
extractSynapseSubprotocol
public static String extractSynapseSubprotocol(String combinedSubprotocol)
-
contentTypeToSyanapeSubprotocol
public static String contentTypeToSyanapeSubprotocol(String contentType)
-
stringToSubprotocolHandlers
public static ArrayList<AbstractSubprotocolHandler> stringToSubprotocolHandlers(String handlerClasses)
-
-