Modifier and Type | Field and Description |
---|---|
private HttpURLConnection |
connection |
private boolean |
isConnectionClose |
Constructor and Description |
---|
HttpUrlTrasport() |
HttpUrlTrasport(boolean isConnectionClose) |
Modifier and Type | Method and Description |
---|---|
void |
closeConnection() |
Response |
invoke(HttpMethod httpMethod,
String uri,
String authenticaton,
String eTag,
String mimeType,
ConnectionWriter body,
Locale acceptLanguage) |
private HttpURLConnection connection
private boolean isConnectionClose
public HttpUrlTrasport()
public HttpUrlTrasport(boolean isConnectionClose)
public Response invoke(HttpMethod httpMethod, String uri, String authenticaton, String eTag, String mimeType, ConnectionWriter body, Locale acceptLanguage)
public void closeConnection()
closeConnection
in interface Transport
Copyright © 2015. All rights reserved.