- 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.AbstractFilterTubeImplThis 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
-
-
Constructor Summary
Constructors Modifier Constructor Description MetadataServerPipe(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetadataServerPipecopy(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, processResponse
-
-
-
-
Constructor Detail
-
MetadataServerPipe
public MetadataServerPipe(com.sun.xml.ws.api.server.WSEndpoint endpoint, com.sun.xml.ws.api.pipe.Pipe next)
-
MetadataServerPipe
protected MetadataServerPipe(MetadataServerPipe that, com.sun.xml.ws.api.pipe.TubeCloner cloner)
-
-
Method Detail
-
copy
public MetadataServerPipe copy(com.sun.xml.ws.api.pipe.TubeCloner cloner)
- 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
-
-