# Class IdACompression

java.lang.Object
com.io7m.idstore.admin_client.internal.IdACompression

public final class IdACompression extends Object
Functions to decompress responses.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static byte[]`
  `decompressResponse(HttpResponse<byte[]> response, HttpHeaders responseHeaders)`
  Decompress the response if necessary.

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### decompressResponse

    public static byte[] decompressResponse(HttpResponse<byte[]> response, HttpHeaders responseHeaders) throws IOException
    Decompress the response if necessary.
    Parameters:
      `response` - The response
      `responseHeaders` - The response headers
    Returns:
      The decompressed bytes
    Throws:
      `IOException` - On errors