Class HeaderParser

java.lang.Object
com.jedox.palojlib.http.HeaderParser

public class HeaderParser extends Object
parses the palo header and saves it's information
Author:
khaddadin
  • Constructor Details

    • HeaderParser

      public HeaderParser()
  • Method Details

    • parse

      public void parse(HttpURLConnection conn)
    • getContentLength

      public final int getContentLength()
      get the content length of the response
      Returns:
      content length of olap response
    • getToken

      public final String getToken()
      get the token of component that is used in the palo call
      Returns:
      OLAP server token
    • getErrorCode

      public final int getErrorCode()
      set the error code from olap response (only if error exists)
      Returns:
      errorCode olap error code
    • getErrorMessage

      public final String getErrorMessage()
      get the error message from olap response (only if error exists)
      Returns:
      errormessage olap error message
    • getContentType

      public final String getContentType()
      get the response content type
      Returns:
      contentType response content type
    • getContentEncoding

      public final String getContentEncoding()
      get the response content encoding
      Returns:
      contentEncoding response content type
    • getTransferEncoding

      public final String getTransferEncoding()
    • getAsyncCallId

      public final int getAsyncCallId()
      return a async id for this request, this is only returned for async requests (e.g. cell/replace_bulk)
      Returns:
      async call id returned from olap server