Class StatusLineStub

java.lang.Object
org.robolectric.shadows.httpclient.StatusLineStub
All Implemented Interfaces:
org.apache.http.StatusLine
Direct Known Subclasses:
TestHttpResponse.TestStatusLine

public class StatusLineStub
extends Object
implements org.apache.http.StatusLine
  • Constructor Details

  • Method Details

    • getProtocolVersion

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

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

      public String getReasonPhrase()
      Specified by:
      getReasonPhrase in interface org.apache.http.StatusLine