Class UpgradeResponse
- java.lang.Object
-
- io.github.hapjava.server.impl.responses.OkResponse
-
- io.github.hapjava.server.impl.pairing.UpgradeResponse
-
- All Implemented Interfaces:
HttpResponse
public class UpgradeResponse extends OkResponse
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.github.hapjava.server.impl.http.HttpResponse
HttpResponse.HttpVersion
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandoUpgrade()Map<String,String>getHeaders()ByteBuffergetReadKey()ByteBuffergetWriteKey()-
Methods inherited from class io.github.hapjava.server.impl.responses.OkResponse
getBody, getStatusCode
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.github.hapjava.server.impl.http.HttpResponse
getVersion
-
-
-
-
Method Detail
-
doUpgrade
public boolean doUpgrade()
-
getReadKey
public ByteBuffer getReadKey()
-
getWriteKey
public ByteBuffer getWriteKey()
-
-