JavaScript is disabled on your browser.
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method
org.htmlunit

Class MockWebConnection.RawResponseData

  • Enclosing class:
    MockWebConnection


    public static class MockWebConnection.RawResponseData
    extends Object 
    Contains the raw data configured for a response.
    • Method Detail

      • getHeaders

        public List<NameValuePair> getHeaders()
        Gets the configured headers.
        Returns:
        the headers
      • getByteContent

        public byte[] getByteContent()
        Gets the configured content bytes.
        Returns:
        null if a String content has been configured
      • getStringContent

        public String getStringContent()
        Gets the configured content String.
        Returns:
        null if a byte content has been configured
      • getStatusCode

        public int getStatusCode()
        Gets the configured status code.
        Returns:
        the status code
      • getStatusMessage

        public String getStatusMessage()
        Gets the configured status message.
        Returns:
        the message
      • getCharset

        public Charset getCharset()
        Gets the configured charset.
        Returns:
        null for byte content
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method

Copyright © 2002–2025 Gargoyle Software Inc.. All rights reserved.

AltStyle によって変換されたページ (->オリジナル) /