retrofit
Class Profiler.RequestInformation

java.lang.Object
  extended by retrofit.Profiler.RequestInformation
Enclosing interface:
Profiler<T>

public static final class Profiler.RequestInformation
extends Object

Information about the HTTP request.


Constructor Summary
Profiler.RequestInformation(String method, String baseUrl, String relativePath, long contentLength, String contentType)
           
 
Method Summary
 String getBaseUrl()
          Returns the URL to which the originating request was sent.
 long getContentLength()
          Returns the number of bytes in the originating request.
 String getContentType()
          Returns the content type header value of the originating request.
 String getMethod()
          Returns the HTTP method of the originating request.
 String getRelativePath()
          Returns the path relative to the base URL to which the originating request was sent.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Profiler.RequestInformation

public Profiler.RequestInformation(String method,
                                   String baseUrl,
                                   String relativePath,
                                   long contentLength,
                                   String contentType)
Method Detail

getMethod

public String getMethod()
Returns the HTTP method of the originating request.


getBaseUrl

public String getBaseUrl()
Returns the URL to which the originating request was sent.


getRelativePath

public String getRelativePath()
Returns the path relative to the base URL to which the originating request was sent.


getContentLength

public long getContentLength()
Returns the number of bytes in the originating request.


getContentType

public String getContentType()
Returns the content type header value of the originating request.



Copyright © 2013 Square, Inc.. All Rights Reserved.