| Modifier and Type | Field and Description |
|---|---|
| private final ServerUpgradeResponse |
| Access | Constructor and Description |
|---|---|
| public | WebSocketHttpFieldsWrapper(HttpFields.
|
| Modifier and Type | Method and Description |
|---|---|
| public HttpField | onAddField(HttpField
The field being added. field)Overrides org. Called when a field is added (including as part of a put). |
| public boolean | onRemoveField(HttpField
The field being removed. field)Overrides org. Called when a field is removed (including as part of a put). |
| public HttpFields. | put(HttpField
the field to put field)Overrides org. Overrides default org. Puts the given |
| public HttpFields. | put(String
the name of the field name, String the value of the field; if value)null the field is removedOverrides default org. This method behaves like |
| public HttpFields. | put(HttpHeader
the name of the field header, HttpHeaderValue the value of the field; if value)null the field is removedOverrides default org. This method behaves like |
| public HttpFields. | put(HttpHeader
the name of the field header, String the value of the field; if value)null the field is removedOverrides default org. This method behaves like |
| public HttpFields. | put(String
the name of the field name, List<String> the List value of the field. If null the field is cleared. list)Overrides default org. Puts a field associated with a list of values. |
| _response | back to summary |
|---|---|
| private final ServerUpgradeResponse _response | |
| WebSocketHttpFieldsWrapper | back to summary |
|---|---|
| public WebSocketHttpFieldsWrapper(HttpFields. | |
| onAddField | back to summary |
|---|---|
| public HttpField onAddField(HttpField field) Overrides org. Doc from org. Called when a field is added (including as part of a put). | |
| onRemoveField | back to summary |
|---|---|
| public boolean onRemoveField(HttpField field) Overrides org. Doc from org. Called when a field is removed (including as part of a put). | |
| put | back to summary |
|---|---|
| public HttpFields. Overrides org. Overrides default org. Doc from org. Puts the given If a fields with the same name is present, the given field replaces it, and other existing fields with the same name are removed, so that only the given field will be present. If a field with the same name is not present, the given field will be added.
| |
| put | back to summary |
|---|---|
| public HttpFields. Overrides default org. Doc from org. This method behaves like
| |
| put | back to summary |
|---|---|
| public HttpFields. Overrides default org. Doc from org. This method behaves like
| |
| put | back to summary |
|---|---|
| public HttpFields. Overrides default org. Doc from org. This method behaves like
| |
| put | back to summary |
|---|---|
| public HttpFields. Overrides default org. Doc from org. Puts a field associated with a list of values. | |