Package com.io7m.idstore.user_client.internal

# Class IdUCompression

java.lang.Object
com.io7m.idstore.user_client.internal.IdUCompression

public final class IdUCompression 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 java.lang.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