@Component public class CdmServiceRequestExecutor extends CdmAuthenticatedHttpInvokerRequestExecutor
Modifier and Type | Field and Description |
---|---|
protected static java.util.Set<java.lang.String> |
cachableMethods |
CONTENT_TYPE_SERIALIZED_OBJECT, ENCODING_GZIP, HTTP_HEADER_ACCEPT_ENCODING, HTTP_HEADER_ACCEPT_LANGUAGE, HTTP_HEADER_CONTENT_ENCODING, HTTP_HEADER_CONTENT_LENGTH, HTTP_HEADER_CONTENT_TYPE, HTTP_METHOD_POST
Constructor and Description |
---|
CdmServiceRequestExecutor() |
Modifier and Type | Method and Description |
---|---|
void |
cache(org.springframework.remoting.support.RemoteInvocation ri,
org.springframework.remoting.support.RemoteInvocationResult rir) |
protected org.springframework.remoting.support.RemoteInvocationResult |
doExecuteRequest(org.springframework.remoting.httpinvoker.HttpInvokerClientConfiguration config,
java.io.ByteArrayOutputStream baos) |
org.springframework.remoting.support.RemoteInvocationResult |
fromCache(org.springframework.remoting.support.RemoteInvocation ri) |
protected void |
writeRemoteInvocation(org.springframework.remoting.support.RemoteInvocation invocation,
java.io.OutputStream os) |
createHttpPost
createRequestConfig, executeHttpPost, getHttpClient, getResponseBody, isGzipResponse, setConnectionRequestTimeout, setConnectTimeout, setHttpClient, setReadTimeout, setRequestBody, validateResponse
createObjectInputStream, decorateInputStream, decorateOutputStream, doReadRemoteInvocationResult, doWriteRemoteInvocation, executeRequest, getBeanClassLoader, getByteArrayOutputStream, getContentType, isAcceptGzipEncoding, readRemoteInvocationResult, setAcceptGzipEncoding, setBeanClassLoader, setContentType
protected void writeRemoteInvocation(org.springframework.remoting.support.RemoteInvocation invocation, java.io.OutputStream os) throws java.io.IOException
writeRemoteInvocation
in class org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor
java.io.IOException
protected org.springframework.remoting.support.RemoteInvocationResult doExecuteRequest(org.springframework.remoting.httpinvoker.HttpInvokerClientConfiguration config, java.io.ByteArrayOutputStream baos) throws java.io.IOException, java.lang.ClassNotFoundException
doExecuteRequest
in class org.springframework.remoting.httpinvoker.HttpComponentsHttpInvokerRequestExecutor
java.io.IOException
java.lang.ClassNotFoundException
public void cache(org.springframework.remoting.support.RemoteInvocation ri, org.springframework.remoting.support.RemoteInvocationResult rir)
public org.springframework.remoting.support.RemoteInvocationResult fromCache(org.springframework.remoting.support.RemoteInvocation ri)
Copyright © 2007-2018. All Rights Reserved.