public class NetworkHttpInvoker extends Object implements org.apache.chemistry.opencmis.client.bindings.spi.http.HttpInvoker
Modifier and Type | Field and Description |
---|---|
static String |
USER_AGENT |
Constructor and Description |
---|
NetworkHttpInvoker() |
Modifier and Type | Method and Description |
---|---|
protected HttpURLConnection |
getHttpURLConnection(URL url) |
protected static String |
getUserAgent() |
protected org.apache.chemistry.opencmis.client.bindings.spi.http.Response |
invoke(org.apache.chemistry.opencmis.commons.impl.UrlBuilder url,
String method,
String contentType,
Map<String,String> headers,
org.apache.chemistry.opencmis.client.bindings.spi.http.Output writer,
org.apache.chemistry.opencmis.client.bindings.spi.BindingSession session,
BigInteger offset,
BigInteger length) |
org.apache.chemistry.opencmis.client.bindings.spi.http.Response |
invokeDELETE(org.apache.chemistry.opencmis.commons.impl.UrlBuilder url,
org.apache.chemistry.opencmis.client.bindings.spi.BindingSession session) |
org.apache.chemistry.opencmis.client.bindings.spi.http.Response |
invokeGET(org.apache.chemistry.opencmis.commons.impl.UrlBuilder url,
org.apache.chemistry.opencmis.client.bindings.spi.BindingSession session) |
org.apache.chemistry.opencmis.client.bindings.spi.http.Response |
invokeGET(org.apache.chemistry.opencmis.commons.impl.UrlBuilder url,
org.apache.chemistry.opencmis.client.bindings.spi.BindingSession session,
BigInteger offset,
BigInteger length) |
static org.apache.chemistry.opencmis.client.bindings.spi.http.Response |
invokeGET(org.apache.chemistry.opencmis.commons.impl.UrlBuilder url,
Map<String,List<String>> headers) |
static org.apache.chemistry.opencmis.client.bindings.spi.http.Response |
invokePOST(org.apache.chemistry.opencmis.commons.impl.UrlBuilder url,
String contentType,
Map<String,String> params) |
org.apache.chemistry.opencmis.client.bindings.spi.http.Response |
invokePOST(org.apache.chemistry.opencmis.commons.impl.UrlBuilder url,
String contentType,
org.apache.chemistry.opencmis.client.bindings.spi.http.Output writer,
org.apache.chemistry.opencmis.client.bindings.spi.BindingSession session) |
static org.apache.chemistry.opencmis.client.bindings.spi.http.Response |
invokePOST(org.apache.chemistry.opencmis.commons.impl.UrlBuilder url,
String contentType,
org.apache.chemistry.opencmis.client.bindings.spi.http.Output writer,
Map<String,List<String>> headers) |
org.apache.chemistry.opencmis.client.bindings.spi.http.Response |
invokePUT(org.apache.chemistry.opencmis.commons.impl.UrlBuilder url,
String contentType,
Map<String,String> headers,
org.apache.chemistry.opencmis.client.bindings.spi.http.Output writer,
org.apache.chemistry.opencmis.client.bindings.spi.BindingSession session) |
public static String USER_AGENT
public org.apache.chemistry.opencmis.client.bindings.spi.http.Response invokeGET(org.apache.chemistry.opencmis.commons.impl.UrlBuilder url, org.apache.chemistry.opencmis.client.bindings.spi.BindingSession session)
invokeGET
in interface org.apache.chemistry.opencmis.client.bindings.spi.http.HttpInvoker
public org.apache.chemistry.opencmis.client.bindings.spi.http.Response invokeGET(org.apache.chemistry.opencmis.commons.impl.UrlBuilder url, org.apache.chemistry.opencmis.client.bindings.spi.BindingSession session, BigInteger offset, BigInteger length)
invokeGET
in interface org.apache.chemistry.opencmis.client.bindings.spi.http.HttpInvoker
public org.apache.chemistry.opencmis.client.bindings.spi.http.Response invokePOST(org.apache.chemistry.opencmis.commons.impl.UrlBuilder url, String contentType, org.apache.chemistry.opencmis.client.bindings.spi.http.Output writer, org.apache.chemistry.opencmis.client.bindings.spi.BindingSession session)
invokePOST
in interface org.apache.chemistry.opencmis.client.bindings.spi.http.HttpInvoker
public org.apache.chemistry.opencmis.client.bindings.spi.http.Response invokePUT(org.apache.chemistry.opencmis.commons.impl.UrlBuilder url, String contentType, Map<String,String> headers, org.apache.chemistry.opencmis.client.bindings.spi.http.Output writer, org.apache.chemistry.opencmis.client.bindings.spi.BindingSession session)
invokePUT
in interface org.apache.chemistry.opencmis.client.bindings.spi.http.HttpInvoker
public org.apache.chemistry.opencmis.client.bindings.spi.http.Response invokeDELETE(org.apache.chemistry.opencmis.commons.impl.UrlBuilder url, org.apache.chemistry.opencmis.client.bindings.spi.BindingSession session)
invokeDELETE
in interface org.apache.chemistry.opencmis.client.bindings.spi.http.HttpInvoker
protected HttpURLConnection getHttpURLConnection(URL url) throws IOException
IOException
protected static String getUserAgent()
protected org.apache.chemistry.opencmis.client.bindings.spi.http.Response invoke(org.apache.chemistry.opencmis.commons.impl.UrlBuilder url, String method, String contentType, Map<String,String> headers, org.apache.chemistry.opencmis.client.bindings.spi.http.Output writer, org.apache.chemistry.opencmis.client.bindings.spi.BindingSession session, BigInteger offset, BigInteger length)
public static org.apache.chemistry.opencmis.client.bindings.spi.http.Response invokeGET(org.apache.chemistry.opencmis.commons.impl.UrlBuilder url, Map<String,List<String>> headers)
public static org.apache.chemistry.opencmis.client.bindings.spi.http.Response invokePOST(org.apache.chemistry.opencmis.commons.impl.UrlBuilder url, String contentType, org.apache.chemistry.opencmis.client.bindings.spi.http.Output writer, Map<String,List<String>> headers)
Copyright © 2012-2018 Alfresco Software. All Rights Reserved.