All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.hapjava.server.impl.pairing.PairingResponse Maven / Gradle / Ivy

There is a newer version: 2.0.7
Show newest version
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