com.sun.xml.ws.mex.server
Class MetadataServerPipe
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.
Fields inherited from class com.sun.xml.ws.api.pipe.helper.AbstractFilterTubeImpl |
next |
Method Summary |
MetadataServerPipe |
copy(com.sun.xml.ws.api.pipe.TubeCloner cloner)
|
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. |
Methods inherited from class com.sun.xml.ws.api.pipe.helper.AbstractFilterTubeImpl |
preDestroy, processException, processResponse |
Methods inherited from class com.sun.xml.ws.api.pipe.helper.AbstractTubeImpl |
copy, doInvoke, doInvokeAndForget, doReturnWith, doSuspend, doSuspend, doThrow, process |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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)
copy
public MetadataServerPipe copy(com.sun.xml.ws.api.pipe.TubeCloner cloner)
- Specified by:
copy
in interface com.sun.xml.ws.api.pipe.Tube
- Overrides:
copy
in class com.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:
processRequest
in interface com.sun.xml.ws.api.pipe.Tube
- Overrides:
processRequest
in class com.sun.xml.ws.api.pipe.helper.AbstractFilterTubeImpl