com.wordnik.swaggersocket.protocol
Class Handshake

java.lang.Object
  extended by com.wordnik.swaggersocket.protocol.ProtocolBase
      extended by com.wordnik.swaggersocket.protocol.Handshake

public class Handshake
extends ProtocolBase

The Hanshake object representing a SwaggerSocket's initial handshake between the client and server.


Nested Class Summary
static class Handshake.Builder
           
 
Field Summary
 
Fields inherited from class com.wordnik.swaggersocket.protocol.ProtocolBase
headers, messageBody, method, path, queryString, uuid
 
Constructor Summary
Handshake()
           
 
Method Summary
 String getProtocolName()
           
 String getProtocolVersion()
           
 void setProtocolName(String protocolName)
           
 void setProtocolVersion(String protocolVersion)
           
 
Methods inherited from class com.wordnik.swaggersocket.protocol.ProtocolBase
getDataFormat, getHeaders, getMessageBody, getMethod, getPath, getQueryString, getUuid, setDataFormat, setHeaders, setMessageBody, setMethod, setPath, setQueryString, setUuid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Handshake

public Handshake()
Method Detail

getProtocolName

public String getProtocolName()

setProtocolName

public void setProtocolName(String protocolName)

getProtocolVersion

public String getProtocolVersion()

setProtocolVersion

public void setProtocolVersion(String protocolVersion)


Copyright © 2012. All Rights Reserved.