java.lang.Object
com.sun.xml.ws.api.pipe.helper.AbstractTubeImpl
com.sun.xml.ws.api.pipe.helper.AbstractFilterTubeImpl
com.sun.xml.ws.mex.server.MetadataServerPipe
- All Implemented Interfaces:
com.sun.xml.ws.api.pipe.Pipe,com.sun.xml.ws.api.pipe.Tube
public class MetadataServerPipe
extends com.sun.xml.ws.api.pipe.helper.AbstractFilterTubeImpl
This pipe handles any mex requests that come through. If a
message comes through that has no headers or does not have
a mex action in the header, then the pipe ignores the message
and passes it on to the next pipe. Otherwise, it responds
to a mex Get request and returns a fault for a GetMetadata
request (these optional requests are not supported).
TODO: Remove the createANSFault() method after the next
jax-ws integration. See the method for more details.
- Author:
- WS Development Team
-
Field Summary
Fields inherited from class com.sun.xml.ws.api.pipe.helper.AbstractFilterTubeImpl
next -
Constructor Summary
ConstructorsModifierConstructorDescriptionMetadataServerPipe(com.sun.xml.ws.api.server.WSEndpoint endpoint, com.sun.xml.ws.api.pipe.Pipe next) protectedMetadataServerPipe(MetadataServerPipe that, com.sun.xml.ws.api.pipe.TubeCloner cloner) -
Method Summary
Modifier and TypeMethodDescriptioncopy(com.sun.xml.ws.api.pipe.TubeCloner cloner) com.sun.xml.ws.api.pipe.NextActionprocessRequest(com.sun.xml.ws.api.message.Packet request) Method returns immediately if there are no headers in the message to check.Methods inherited from class com.sun.xml.ws.api.pipe.helper.AbstractFilterTubeImpl
preDestroy, processException, processResponseMethods inherited from class com.sun.xml.ws.api.pipe.helper.AbstractTubeImpl
copy, doInvoke, doInvokeAndForget, doReturnWith, doSuspend, doSuspend, doSuspend, doSuspend, doThrow, doThrow, process
-
Constructor Details
-
MetadataServerPipe
public MetadataServerPipe(com.sun.xml.ws.api.server.WSEndpoint endpoint, com.sun.xml.ws.api.pipe.Pipe next) -
MetadataServerPipe
-
-
Method Details
-
copy
- Specified by:
copyin interfacecom.sun.xml.ws.api.pipe.Tube- Specified by:
copyin classcom.sun.xml.ws.api.pipe.helper.AbstractTubeImpl
-
processRequest
public com.sun.xml.ws.api.pipe.NextAction processRequest(com.sun.xml.ws.api.message.Packet request) Method returns immediately if there are no headers in the message to check. If there are, the pipe checks W3C and then MEMBER addressing for an action header. If there is an action header, and if it is a mex Get request, then ask addressing again for the address and process the request.- Specified by:
processRequestin interfacecom.sun.xml.ws.api.pipe.Tube- Overrides:
processRequestin classcom.sun.xml.ws.api.pipe.helper.AbstractFilterTubeImpl
-