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

public.javadoc.org.spincast.plugins.httpclient.IHttpResponse.html Maven / Gradle / Ivy

There is a newer version: 0.9.28
Show newest version






IHttpResponse (org.spincast:spincast-framework 0.9.21 API)












org.spincast.plugins.httpclient

Interface IHttpResponse

    • Method Detail

      • getStatus

        int getStatus()
        Gets the HTTP status.
      • getContentType

        String getContentType()
        Gets the Content-Type.
      • getHeader

        List<String> getHeader(String name)
        Gets an header. An header can have more than one value.
      • getHeaderFirst

        String getHeaderFirst(String name)
        Gets the first value of an header.
      • isGzipped

        boolean isGzipped()
        Is the response gzipped?
      • getContentAsString

        String getContentAsString()
        Gets the content as a UTF-8 String.
      • getContentAsString

        String getContentAsString(String encoding)
        Gets the content as a String using the specified encoding.
      • getContentAsByteArray

        byte[] getContentAsByteArray()
        Get the content as byte[].

Copyright © 2016. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy