
io.github.hapjava.server.impl.pairing.PairingResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hap Show documentation
Show all versions of hap Show documentation
Homekit Accessory Protocol for Java
package io.github.hapjava.server.impl.pairing;
import io.github.hapjava.server.impl.responses.OkResponse;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
class PairingResponse extends OkResponse {
private static final Map headers =
Collections.unmodifiableMap(
new HashMap() {
private static final long serialVersionUID = 1L;
{
put("Content-type", "application/pairing+tlv8");
}
});
public PairingResponse(byte[] body) {
super(body);
}
@Override
public Map getHeaders() {
return headers;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy