Interface GeneralHttpErrorHandlerParams

  • All Known Implementing Classes:
    Http4ErrorHandlerParams

    public interface GeneralHttpErrorHandlerParams
    Data from unsuccessful GET response.
    Since:
    2018.1
    Author:
    Mikhail Khorkov
    • Method Detail

      • getStatusCode

        int getStatusCode()
        Returns status code of GET request.
        Returns:
        status code or zero if there are no status
      • getUrl

        @NotNull
        java.net.URL getUrl()
        Returns original request URL.
        Returns:
        original request URL
      • getContent

        @Nullable
        java.io.InputStream getContent()
                                throws java.io.IOException
        Returns content of GET response
        Returns:
        content of GET response or null
        Throws:
        java.io.IOException - if I/O error occurs