Class Response


  • public class Response
    extends Object
    Response of download
    Author:
    Christian Paul
    • Constructor Detail

      • Response

        public Response()
    • Method Detail

      • getStatusCode

        public int getStatusCode()
        Returns:
        the statusCode
      • setStatusCode

        public void setStatusCode​(int statusCode)
        Parameters:
        statusCode - the statusCode to set
      • getStatusMessage

        public String getStatusMessage()
        Returns:
        the statusMessage
      • setStatusMessage

        public void setStatusMessage​(String statusMessage)
        Parameters:
        statusMessage - the statusMessage to set
      • getResponseTime

        public long getResponseTime()
        Returns:
        the responseTime
      • setResponseTime

        public void setResponseTime​(long responseTime)
        Parameters:
        responseTime - the responseTime to set
      • getLocale

        public Locale getLocale()
        Returns:
        the locale
      • setLocale

        public void setLocale​(Locale locale)
        Parameters:
        locale - the locale to set
      • getContentLength

        public long getContentLength()
        Returns:
        the contentLength
      • setContentLength

        public void setContentLength​(long contentLength)
        Parameters:
        contentLength - the contentLength to set
      • getContentType

        public String getContentType()
        Returns:
        the contentType
      • setContentType

        public void setContentType​(String contentType)
        Parameters:
        contentType - the contentType to set
      • getContentEncoding

        public String getContentEncoding()
        Returns:
        the contentEncoding
      • setContentEncoding

        public void setContentEncoding​(String contentEncoding)
        Parameters:
        contentEncoding - the contentEncoding to set
      • getLastModified

        public String getLastModified()
        Returns:
        the lastModified
      • setLastModified

        public void setLastModified​(String lastModified)
        Parameters:
        lastModified - the lastModified to set
      • getLocation

        public String getLocation()
        Returns:
        the location
      • setLocation

        public void setLocation​(String location)
        Parameters:
        location - the location to set
      • getContent

        public String getContent()
        Returns:
        the content
      • setContent

        public void setContent​(String content)
        Parameters:
        content - the content to set
      • getTargetFileName

        public String getTargetFileName()
        Returns:
        the targetFileName
      • setTargetFileName

        public void setTargetFileName​(String targetFileName)
        Parameters:
        targetFileName - the targetFileName to set
      • isRedirected

        public boolean isRedirected()
        Returns:
        the redirected
      • setRedirected

        public void setRedirected​(boolean redirected)
        Parameters:
        redirected - the redirected to set