Since 3.16.0
| Modifier and Type | Field and Description |
|---|---|
| private MarkdownCapabilities | markdown
Client capabilities specific to the client's markdown parser. |
| private List | positionEncodings
The position encodings supported by the client. |
| private RegularExpressionsCapabilities | regularExpressions
Client capabilities specific to regular expressions. |
| private StaleRequestCapabilities | staleRequestSupport
Client capability that signals how the client handles stale requests (e.g. a request for which the client will not process the response anymore since the information is outdated). |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(final Object obj)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public MarkdownCapabilities | |
| public List | |
| public RegularExpressionsCapabilities | |
| public StaleRequestCapabilities | getStaleRequestSupport()
Client capability that signals how the client handles stale requests (e.g. a request for which the client will not process the response anymore since the information is outdated). |
| public int | |
| public void | setMarkdown(final MarkdownCapabilities markdown)
Client capabilities specific to the client's markdown parser. |
| public void | setPositionEncodings(final List<String> positionEncodings)
The position encodings supported by the client. |
| public void | setRegularExpressions(final RegularExpressionsCapabilities regularExpressions)
Client capabilities specific to regular expressions. |
| public void | setStaleRequestSupport(final StaleRequestCapabilities staleRequestSupport)
Client capability that signals how the client handles stale requests (e.g. a request for which the client will not process the response anymore since the information is outdated). |
| public String |
| markdown | back to summary |
|---|---|
| private MarkdownCapabilities markdown Client capabilities specific to the client's markdown parser. Since 3.16.0 | |
| positionEncodings | back to summary |
|---|---|
| private List<String> positionEncodings The position encodings supported by the client. Client and server have to agree on the same position encoding to ensure that offsets (e.g. character position in a line) are interpreted the same on both side. To keep the protocol backwards compatible the following applies: if the value 'utf-16' is missing from the array of position encodings servers can assume that the client supports UTF-16. UTF-16 is therefore a mandatory encoding.
If omitted it defaults to [ Implementation considerations: since the conversion from one encoding into another requires the content of the file / line the conversion is best done where the file is read which is usually on the server side.
See Since 3.17.0 | |
| regularExpressions | back to summary |
|---|---|
| private RegularExpressionsCapabilities regularExpressions Client capabilities specific to regular expressions. Since 3.16.0 | |
| staleRequestSupport | back to summary |
|---|---|
| private StaleRequestCapabilities staleRequestSupport Client capability that signals how the client handles stale requests (e.g. a request for which the client will not process the response anymore since the information is outdated). Since 3.17.0 | |
| GeneralClientCapabilities | back to summary |
|---|---|
| public GeneralClientCapabilities() | |
| equals | back to summary |
|---|---|
| public boolean equals(final Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getMarkdown | back to summary |
|---|---|
| public MarkdownCapabilities getMarkdown() Client capabilities specific to the client's markdown parser. Since 3.16.0 | |
| getPositionEncodings | back to summary |
|---|---|
| public List The position encodings supported by the client. Client and server have to agree on the same position encoding to ensure that offsets (e.g. character position in a line) are interpreted the same on both side. To keep the protocol backwards compatible the following applies: if the value 'utf-16' is missing from the array of position encodings servers can assume that the client supports UTF-16. UTF-16 is therefore a mandatory encoding.
If omitted it defaults to [ Implementation considerations: since the conversion from one encoding into another requires the content of the file / line the conversion is best done where the file is read which is usually on the server side.
See Since 3.17.0 | |
| getRegularExpressions | back to summary |
|---|---|
| public RegularExpressionsCapabilities getRegularExpressions() Client capabilities specific to regular expressions. Since 3.16.0 | |
| getStaleRequestSupport | back to summary |
|---|---|
| public StaleRequestCapabilities getStaleRequestSupport() Client capability that signals how the client handles stale requests (e.g. a request for which the client will not process the response anymore since the information is outdated). Since 3.17.0 | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| setMarkdown | back to summary |
|---|---|
| public void setMarkdown(final MarkdownCapabilities markdown) Client capabilities specific to the client's markdown parser. Since 3.16.0 | |
| setPositionEncodings | back to summary |
|---|---|
| public void setPositionEncodings(final List<String> positionEncodings) The position encodings supported by the client. Client and server have to agree on the same position encoding to ensure that offsets (e.g. character position in a line) are interpreted the same on both side. To keep the protocol backwards compatible the following applies: if the value 'utf-16' is missing from the array of position encodings servers can assume that the client supports UTF-16. UTF-16 is therefore a mandatory encoding.
If omitted it defaults to [ Implementation considerations: since the conversion from one encoding into another requires the content of the file / line the conversion is best done where the file is read which is usually on the server side.
See Since 3.17.0 | |
| setRegularExpressions | back to summary |
|---|---|
| public void setRegularExpressions(final RegularExpressionsCapabilities regularExpressions) Client capabilities specific to regular expressions. Since 3.16.0 | |
| setStaleRequestSupport | back to summary |
|---|---|
| public void setStaleRequestSupport(final StaleRequestCapabilities staleRequestSupport) Client capability that signals how the client handles stale requests (e.g. a request for which the client will not process the response anymore since the information is outdated). Since 3.17.0 | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |