XML-RPC emerged in early 1998 it was published by UserLand Software and initially implemented in their Frontier product. With XML-RPC and web services, however, the Web becomes a collection of procedural connections where computers exchange information along tightly bound paths. XML-RPC has no notion of objects and no mechanism for including information that uses other XML vocabulary. XML-RPC parameters are a simple list of types and content - structs and arrays are the most complex types available. XML-RPC client specifies a procedure name and parameters in the XML request, and the server returns either a fault or a response in the XML response. XML-RPC uses a small XML vocabulary to describe the nature of requests and responses. XML-RPC uses the HTTP protocol to pass information from a client computer to a server computer. XML-RPC permits programs to make function or procedure calls across a network. XML-RPC is among the simplest and most foolproof web service approaches that makes it easy for computers to call procedures on other computers. These interfaces can be as simple as a single function call or as complex as a large API. Effectively, RPC gives developers a mechanism for defining interfaces that can be called over a network. RPC is a much older technology than the Web. As its name indicates, it is a mechanism to call a procedure or a function available on a remote computer. All Rights Reserved.RPC stands for Remote Procedure Call. Throws XmlRpcException Specified by: writeRequest in class XmlRpcStreamTransport Throws: XmlRpcExceptionĬopyright © 2001-2010 The Apache Software Foundation. Protected void writeRequest( XmlRpcStreamTransport.ReqWriter pWriter) Throws XmlRpcException Throws: XmlRpcException Returns: Whether the response stream is gzip compressed. Specified by: isResponseGzipCompressed in class XmlRpcStreamTransport Parameters: pConfig - The clients configuration. Protected boolean isResponseGzipCompressed( XmlRpcStreamRequestConfig pConfig) Description copied from class: XmlRpcStreamTransport Returns, whether the response is gzip compressed. Specified by: close in class XmlRpcStreamTransport Throws: XmlRpcClientException Throws XmlRpcClientException Description copied from class: XmlRpcStreamTransport Closes the connection and ensures, that all resources are being Throws XmlRpcClientException Overrides: setCredentials in class XmlRpcHttpTransport Throws: XmlRpcClientException Protected void setCredentials( XmlRpcHttpClientConfig pConfig) Specified by: getInputStream in class XmlRpcStreamTransport Throws: XmlRpcException Throws XmlRpcException Description copied from class: XmlRpcStreamTransport Returns the input stream, from which the response is Protected java.io.InputStream getInputStream() Protected boolean isResponseGzipCompressed() pValue) Specified by: setRequestHeader in class XmlRpcHttpTransport Protected void setRequestHeader( pHeader, Protected .methods.PostMethod newPostMethod( XmlRpcHttpClientConfig pConfig) Throws XmlRpcClientException Overrides: initHttpHeaders in class XmlRpcHttpTransport Throws: XmlRpcClientException Protected void initHttpHeaders( XmlRpcRequest pRequest) Protected void setContentLength(int pLength) Overrides: setContentLength in class XmlRpcHttpTransport Parameters: pFactory - The factory, which created this transport. Public XmlRpcCommonsTransport( XmlRpcCommonsTransportFactory pFactory) Creates a new instance. Protected .methods.PostMethod method Constructor Detail Methods inherited from class Ĭlone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait IsCompressingRequest, newXMLReader, readResponse GetUserAgent, isUsingByteArrayOutput, newReqWriter, sendRequest, setCompressionHeaders WriteRequest( XmlRpcStreamTransport.ReqWriter pWriter) SetCredentials( XmlRpcHttpClientConfig pConfig) NewPostMethod( XmlRpcHttpClientConfig pConfig) Returns, whether the response is gzip compressed. IsResponseGzipCompressed( XmlRpcStreamRequestConfig pConfig) Returns the input stream, from which the response is XmlRpcCommonsTransport( XmlRpcCommonsTransportFactory pFactory)Ĭloses the connection and ensures, that all resources are being Protected .methods.PostMethodįields inherited from class. XmlRpcStreamTransport.GzipReqWriter, XmlRpcStreamTransport.ReqWriter, XmlRpcStreamTransport.ReqWriterImpl Nested classes/interfaces inherited from class. Public class XmlRpcCommonsTransport extends XmlRpcHttpTransportĪn HTTP transport factory, which is based on the Jakarta Commons XmlRpcTransportImpl .XmlRpcStreamTransport .XmlRpcHttpTransport .XmlRpcCommonsTransport All Implemented Interfaces: XmlRpcTransport SUMMARY: NESTED | FIELD | CONSTR | METHOD XmlRpcCommonsTransport (Apache XML-RPC 3.1.4-SNAPSHOT API)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |