public class HandshakeImpl1Server extends HandshakedataImpl1 implements ServerHandshakeBuilder
Constructor and Description |
---|
HandshakeImpl1Server() |
Modifier and Type | Method and Description |
---|---|
short |
getHttpStatus()
Get the http status code
|
String |
getHttpStatusMessage()
Get the http status message
|
void |
setHttpStatus(short status)
Setter for the http status code
|
void |
setHttpStatusMessage(String message)
Setter for the http status message
|
getContent, getFieldValue, hasFieldValue, iterateHttpFields, put, setContent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
put, setContent
getContent, getFieldValue, hasFieldValue, iterateHttpFields
public String getHttpStatusMessage()
ServerHandshake
getHttpStatusMessage
in interface ServerHandshake
public short getHttpStatus()
ServerHandshake
getHttpStatus
in interface ServerHandshake
public void setHttpStatusMessage(String message)
ServerHandshakeBuilder
setHttpStatusMessage
in interface ServerHandshakeBuilder
message
- the http status messagepublic void setHttpStatus(short status)
ServerHandshakeBuilder
setHttpStatus
in interface ServerHandshakeBuilder
status
- the http status codeCopyright © 2022. All rights reserved.