Class TestHttpResponse.TestStatusLine

java.lang.Object
org.robolectric.shadows.httpclient.StatusLineStub
org.robolectric.shadows.httpclient.TestHttpResponse.TestStatusLine
All Implemented Interfaces:
org.apache.http.StatusLine
Enclosing class:
TestHttpResponse

public class TestHttpResponse.TestStatusLine extends StatusLineStub
  • Constructor Details

    • TestStatusLine

      public TestStatusLine()
  • Method Details

    • getProtocolVersion

      public org.apache.http.ProtocolVersion getProtocolVersion()
      Specified by:
      getProtocolVersion in interface org.apache.http.StatusLine
      Overrides:
      getProtocolVersion in class StatusLineStub
    • getStatusCode

      public int getStatusCode()
      Specified by:
      getStatusCode in interface org.apache.http.StatusLine
      Overrides:
      getStatusCode in class StatusLineStub
    • getReasonPhrase

      public String getReasonPhrase()
      Specified by:
      getReasonPhrase in interface org.apache.http.StatusLine
      Overrides:
      getReasonPhrase in class StatusLineStub
    • toString

      public String toString()
      Overrides:
      toString in class Object