public class HandshakedataImpl1 extends Object implements HandshakeBuilder
| Constructor and Description |
|---|
HandshakedataImpl1()
Constructor for handshake implementation
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getContent()
Get the content of the handshake
|
String |
getFieldValue(String name)
Gets the value of the field
|
boolean |
hasFieldValue(String name)
Checks if this handshake contains a specific field
|
Iterator<String> |
iterateHttpFields()
Iterator for the http fields
|
void |
put(String name,
String value)
Adding a specific field with a specific value
|
void |
setContent(byte[] content)
Setter for the content of the handshake
|
public HandshakedataImpl1()
public Iterator<String> iterateHttpFields()
HandshakedataiterateHttpFields in interface Handshakedatapublic String getFieldValue(String name)
HandshakedatagetFieldValue in interface Handshakedataname - The name of the fieldpublic byte[] getContent()
HandshakedatagetContent in interface Handshakedatapublic void setContent(byte[] content)
HandshakeBuildersetContent in interface HandshakeBuildercontent - the content to setpublic void put(String name, String value)
HandshakeBuilderput in interface HandshakeBuildername - the http fieldvalue - the value for this fieldpublic boolean hasFieldValue(String name)
HandshakedatahasFieldValue in interface Handshakedataname - The name of the fieldCopyright © 2021. All rights reserved.