Package com.sun.xml.rpc.client
Class StubBase
- java.lang.Object
-
- com.sun.xml.rpc.client.StreamingSender
-
- com.sun.xml.rpc.client.StubBase
-
- All Implemented Interfaces:
_Initializable,SerializerConstants,StubBase,javax.xml.rpc.Stub
public abstract class StubBase extends StreamingSender implements javax.xml.rpc.Stub, SerializerConstants, _Initializable, StubBase
A base class for stubs.
- Author:
- JAX-RPC Development Team
-
-
Field Summary
Fields Modifier and Type Field Description protected javax.xml.rpc.handler.HandlerChain_handlerChainprotected static Set_recognizedProperties-
Fields inherited from interface com.sun.xml.rpc.encoding.SerializerConstants
DONT_ENCODE_TYPE, DONT_SERIALIZE_AS_REF, ENCODE_TYPE, NOT_NULLABLE, NOT_REFERENCEABLE, NULLABLE, REFERENCEABLE, REFERENCED_INSTANCE, SERIALIZE_AS_REF, UNREFERENCED_INSTANCE
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedStubBase(javax.xml.rpc.handler.HandlerChain handlerChain)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.xml.rpc.handler.HandlerChain_getHandlerChain()Object_getProperty(String name)Iterator_getPropertyNames()protected ClientTransport_getTransport()ClientTransportFactory_getTransportFactory()protected XMLWriterFactory_getXMLWriterFactory()Overrides definition in StreamingSender to return an FI factory instance when property is set on the stub.void_initialize(InternalTypeMappingRegistry registry)Allows the implementors to retrieve and cache serializers during system intializationprotected void_postSendingHook(StreamingSenderState state)protected void_preSendingHook(StreamingSenderState state)void_setProperty(String name, Object value)void_setTransportFactory(ClientTransportFactory f)void_setTransportFactory(ClientTransportFactory f)protected StreamingSenderState_start(javax.xml.rpc.handler.HandlerChain handlerChain)booleanacceptFastInfoset()booleanuseFastInfoset()-
Methods inherited from class com.sun.xml.rpc.client.StreamingSender
_callRequestHandlers, _callResponseHandlers, _getActor, _getDefaultEnvelopeEncodingStyle, _getImplicitEnvelopeEncodingStyle, _getNamespaceDeclarations, _getPreferredCharacterEncoding, _getUnderstoodHeaders, _getXMLReaderFactory, _handleEmptyBody, _handleRuntimeExceptionInSend, _postBodyReadingHook, _postEnvelopeReadingHook, _postHandlingHook, _postHeaderReadingHook, _postRequestSendingHook, _postRequestWritingHook, _preBodyReadingHook, _preEnvelopeReadingHook, _preHandlingHook, _preHeaderReadingHook, _preRequestSendingHook, _preRequestWritingHook, _processHeaderElement, _processHeaders, _raiseFault, _readBodyFaultElement, _readFirstBodyElement, _readHeaderElement, _send, _sendOneWay, _writeRequest
-
-
-
-
Field Detail
-
_recognizedProperties
protected static final Set _recognizedProperties
-
_handlerChain
protected javax.xml.rpc.handler.HandlerChain _handlerChain
-
-
Method Detail
-
_start
protected StreamingSenderState _start(javax.xml.rpc.handler.HandlerChain handlerChain)
- Overrides:
_startin classStreamingSender
-
_getHandlerChain
public javax.xml.rpc.handler.HandlerChain _getHandlerChain()
-
useFastInfoset
public boolean useFastInfoset()
-
acceptFastInfoset
public boolean acceptFastInfoset()
-
_setProperty
public void _setProperty(String name, Object value)
- Specified by:
_setPropertyin interfacejavax.xml.rpc.Stub
-
_getProperty
public Object _getProperty(String name)
- Specified by:
_getPropertyin interfacejavax.xml.rpc.Stub
-
_getPropertyNames
public Iterator _getPropertyNames()
- Specified by:
_getPropertyNamesin interfacejavax.xml.rpc.Stub
-
_initialize
public void _initialize(InternalTypeMappingRegistry registry) throws Exception
Description copied from interface:_InitializableAllows the implementors to retrieve and cache serializers during system intialization- Specified by:
_initializein interface_Initializable- Throws:
Exception- This exception may be thrown if there is a problem initializing
-
_preSendingHook
protected void _preSendingHook(StreamingSenderState state) throws Exception
- Overrides:
_preSendingHookin classStreamingSender- Throws:
Exception
-
_postSendingHook
protected void _postSendingHook(StreamingSenderState state) throws Exception
- Overrides:
_postSendingHookin classStreamingSender- Throws:
Exception
-
_getTransport
protected ClientTransport _getTransport()
- Specified by:
_getTransportin classStreamingSender
-
_getTransportFactory
public ClientTransportFactory _getTransportFactory()
-
_setTransportFactory
public void _setTransportFactory(ClientTransportFactory f)
- Specified by:
_setTransportFactoryin interfaceStubBase
-
_setTransportFactory
public void _setTransportFactory(ClientTransportFactory f)
-
_getXMLWriterFactory
protected XMLWriterFactory _getXMLWriterFactory()
Overrides definition in StreamingSender to return an FI factory instance when property is set on the stub. The method _getXMLReaderFactory() does not need to be redefined since SAAJ already returns an FastInfosetSource.- Overrides:
_getXMLWriterFactoryin classStreamingSender
-
-