Top Description Inners Methods
jakarta.websocket

public Interface Extension

Imports
java.util.List

A simple representation of a websocket extension as a name and map of extension parameters.
Author
dannycoward

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static interface
Extension.Parameter

This member interface defines a single websocket extension parameter.

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the name of the extension.
getName
()

The name of the extension.

public List<Extension.Parameter>

Returns:

The read-only Map of extension parameters belonging to this extension.
getParameters
()

The extension parameters for this extension in the order they appear in the http headers.

Method Detail

getNameback to summary
public String getName()

The name of the extension.

Returns:String

the name of the extension.

getParametersback to summary
public List<Extension.Parameter> getParameters()

The extension parameters for this extension in the order they appear in the http headers.

Returns:List<Extension.Parameter>

The read-only Map of extension parameters belonging to this extension.

jakarta.websocket back to summary

public Interface Extension.Parameter


This member interface defines a single websocket extension parameter.

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the name of the parameter.
getName
()

Return the name of the extension parameter.

public String

Returns:

the value of the parameter.
getValue
()

Return the value of the extension parameter.

Method Detail

getNameback to summary
public String getName()

Return the name of the extension parameter.

Returns:String

the name of the parameter.

getValueback to summary
public String getValue()

Return the value of the extension parameter.

Returns:String

the value of the parameter.