Class WithHeaders<T>

  • Type Parameters:
    T - The type of element returned.

    public class WithHeaders<T>
    extends Object
    Represents a result with HTTP headers
    • Method Detail

      • getItem

        @Nullable
        public T getItem()
        The item returned from the call, null if the returned code is 304 (not-modified).
      • getHeaders

        @Nonnull
        public javax.ws.rs.core.MultivaluedMap<String,​String> getHeaders()
        The HTTP response headers.
      • getStatusCode

        public int getStatusCode()
        The HTTP status code returned.