|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.api.client.http.LowLevelHttpTransport
public abstract class LowLevelHttpTransport
Low-level HTTP transport.
This allows providing a different implementation of the HTTP transport that is more compatible with the Java environment used.
| Constructor Summary | |
|---|---|
LowLevelHttpTransport()
|
|
| Method Summary | |
|---|---|
abstract LowLevelHttpRequest |
buildDeleteRequest(String url)
Builds a DELETE request. |
abstract LowLevelHttpRequest |
buildGetRequest(String url)
Builds a GET request. |
LowLevelHttpRequest |
buildHeadRequest(String url)
Builds a HEAD request. |
LowLevelHttpRequest |
buildPatchRequest(String url)
Builds a PATCH request. |
abstract LowLevelHttpRequest |
buildPostRequest(String url)
Builds a POST request. |
abstract LowLevelHttpRequest |
buildPutRequest(String url)
Builds a PUT request. |
boolean |
supportsHead()
Returns whether this HTTP transport implementation supports the HEAD request method. |
boolean |
supportsPatch()
Returns whether this HTTP transport implementation supports the PATCH request method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LowLevelHttpTransport()
| Method Detail |
|---|
public boolean supportsHead()
HEAD request method.
Default implementation returns false.
public boolean supportsPatch()
PATCH request method.
Default implementation returns false.
public abstract LowLevelHttpRequest buildDeleteRequest(String url)
throws IOException
DELETE request.
url - URL
IOException - I/O exception
public abstract LowLevelHttpRequest buildGetRequest(String url)
throws IOException
GET request.
url - URL
IOException - I/O exception
public LowLevelHttpRequest buildHeadRequest(String url)
throws IOException
HEAD request. Won't be called if supportsHead()
returns false.
Default implementation throws an UnsupportedOperationException.
url - URL
IOException - I/O exception
public LowLevelHttpRequest buildPatchRequest(String url)
throws IOException
PATCH request. Won't be called if supportsPatch()
returns false.
Default implementation throws an UnsupportedOperationException.
url - URL
IOException - I/O exception
public abstract LowLevelHttpRequest buildPostRequest(String url)
throws IOException
POST request.
url - URL
IOException - I/O exception
public abstract LowLevelHttpRequest buildPutRequest(String url)
throws IOException
PUT request.
url - URL
IOException - I/O exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||