Uses of Class
com.sun.xml.ws.api.message.Packet
-
Packages that use Packet Package Description com.sun.xml.ws.addressing com.sun.xml.ws.addressing.v200408 com.sun.xml.ws.api.addressing com.sun.xml.ws.api.databinding com.sun.xml.ws.api.message Messageand related abstractions that represent a SOAP message.com.sun.xml.ws.api.pipe Pipeand related abstractions.com.sun.xml.ws.api.server APIs for hosting JAX-WS services.com.sun.xml.ws.db com.sun.xml.ws.developer JAX-WS RI vendor extension features that are available to the JAX-WS RI users.com.sun.xml.ws.encoding com.sun.xml.ws.server JAX-WS 2.0.1 Server Runtimecom.sun.xml.ws.server.servlet com.sun.xml.ws.transport com.sun.xml.ws.transport.http com.sun.xml.ws.transport.http.servlet Servlet transport for the JAX-WS RI. -
-
Uses of Packet in com.sun.xml.ws.addressing
Methods in com.sun.xml.ws.addressing with parameters of type Packet Modifier and Type Method Description protected voidW3CWsaClientTube. checkMandatoryHeaders(Packet packet, boolean foundAction, boolean foundTo, boolean foundReplyTo, boolean foundFaultTo, boolean foundMessageID, boolean foundRelatesTo)protected voidW3CWsaServerTube. checkMandatoryHeaders(Packet packet, boolean foundAction, boolean foundTo, boolean foundReplyTo, boolean foundFaultTo, boolean foundMessageId, boolean foundRelatesTo)protected voidWsaServerTube. checkMessageAddressingProperties(Packet packet)StringWsaTubeHelper. getEffectiveInputAction(Packet packet)This method gives the Input addressing Action for a message.StringWsaTubeHelper. getFaultAction(Packet requestPacket, Packet responsePacket)StringWsaTubeHelper. getInputAction(Packet packet)StringWsaTubeHelper. getOutputAction(Packet packet)StringWsaTubeHelper. getSOAPAction(Packet packet)booleanWsaTubeHelper. isInputActionDefault(Packet packet)NextActionWsaClientTube. processRequest(Packet request)NextActionWsaServerTube. processRequest(Packet request)NextActionWsaClientTube. processResponse(Packet response)NextActionWsaServerTube. processResponse(Packet response)protected voidWsaClientTube. validateAction(Packet packet)protected voidWsaServerTube. validateAction(Packet packet)Constructors in com.sun.xml.ws.addressing with parameters of type Packet Constructor Description WsaPropertyBag(AddressingVersion addressingVersion, SOAPVersion soapVersion, Packet packet) -
Uses of Packet in com.sun.xml.ws.addressing.v200408
Methods in com.sun.xml.ws.addressing.v200408 with parameters of type Packet Modifier and Type Method Description protected voidMemberSubmissionWsaClientTube. checkMandatoryHeaders(Packet packet, boolean foundAction, boolean foundTo, boolean foundReplyTo, boolean foundFaultTo, boolean foundMessageID, boolean foundRelatesTo)protected voidMemberSubmissionWsaServerTube. checkMandatoryHeaders(Packet packet, boolean foundAction, boolean foundTo, boolean foundReplyTo, boolean foundFaultTo, boolean foundMessageId, boolean foundRelatesTo) -
Uses of Packet in com.sun.xml.ws.api.addressing
Methods in com.sun.xml.ws.api.addressing that return Packet Modifier and Type Method Description PacketNonAnonymousResponseProcessor. process(Packet packet)Send a response to a non-anonymous address.Methods in com.sun.xml.ws.api.addressing with parameters of type Packet Modifier and Type Method Description PacketNonAnonymousResponseProcessor. process(Packet packet)Send a response to a non-anonymous address. -
Uses of Packet in com.sun.xml.ws.api.databinding
Methods in com.sun.xml.ws.api.databinding that return Packet Modifier and Type Method Description PacketClientCallBridge. createRequestPacket(JavaCallInfo call)PacketEndpointCallBridge. serializeResponse(JavaCallInfo call)Methods in com.sun.xml.ws.api.databinding with parameters of type Packet Modifier and Type Method Description voidDatabinding. decode(InputStream in, String ct, Packet packet)Deprecated.use MessageContextFactoryJavaCallInfoEndpointCallBridge. deserializeRequest(Packet req)ContentTypeDatabinding. encode(Packet packet, OutputStream out)Deprecated.use MessageContextFactoryEndpointCallBridgeDatabinding. getEndpointBridge(Packet soap)Deserializes a request XML(SOAP) message to a JavaCallInfo instance representing a JAVA method call.JavaCallInfoClientCallBridge. readResponse(Packet packet, JavaCallInfo call) -
Uses of Packet in com.sun.xml.ws.api.message
Methods in com.sun.xml.ws.api.message that return Packet Modifier and Type Method Description PacketPacket. copy(boolean copyMessage)Creates a copy of thisPacket.PacketPacket. createClientResponse(Message msg)Creates a responsePacketfrom a request packet (this).PacketPacket. createResponse(Message msg)Deprecated.Use createClientResponse(Message) for client side and createServerResponse(Message, String) for server side response creation.PacketPacket. createServerResponse(Message responseMessage, AddressingVersion addressingVersion, SOAPVersion soapVersion, String action)Creates a server-side responsePacketfrom a request packet (this).PacketPacket. createServerResponse(Message responseMessage, WSDLPort wsdlPort, SEIModel seiModel, WSBinding binding)Creates a server-side responsePacketfrom a request packet (this).PacketPacket. relateClientResponse(Packet response)For use cases that start with an existing Packet.PacketPacket. relateServerResponse(Packet r, WSDLPort wsdlPort, SEIModel seiModel, WSBinding binding)Methods in com.sun.xml.ws.api.message with parameters of type Packet Modifier and Type Method Description voidPacket. copyPropertiesTo(Packet response)Copy all properties from (this) packet into a inputPacketstatic MessageMessages. createAddressingFaultMessage(WSBinding binding, Packet p, QName missingHeader)Creates a faultMessagethat captures the code/subcode/subsubcode defined by WS-Addressing if one of the expected WS-Addressing headers is missing in the messagestatic voidAddressingUtils. fillRequestAddressingHeaders(MessageHeaders headers, Packet packet, AddressingVersion av, SOAPVersion sv, boolean oneway, String action)static voidAddressingUtils. fillRequestAddressingHeaders(MessageHeaders headers, Packet packet, AddressingVersion av, SOAPVersion sv, boolean oneway, String action, boolean mustUnderstand)static voidAddressingUtils. fillRequestAddressingHeaders(MessageHeaders headers, WSDLPort wsdlPort, WSBinding binding, Packet packet)voidHeaderList. fillRequestAddressingHeaders(Packet packet, AddressingVersion av, SOAPVersion sv, boolean oneway, String action)voidHeaderList. fillRequestAddressingHeaders(Packet packet, AddressingVersion av, SOAPVersion sv, boolean oneway, String action, boolean mustUnderstand)Creates a set of outbound WS-Addressing headers on the client with the specified Action Message Addressing Property value.voidHeaderList. fillRequestAddressingHeaders(WSDLPort wsdlPort, WSBinding binding, Packet packet)Creates a set of outbound WS-Addressing headers on the client with the default Action Message Addressing Property value.static Map<String,List<String>>Message. getTransportHeaders(Packet packet)static Map<String,List<String>>Message. getTransportHeaders(Packet packet, boolean inbound)SOAPMessageFilterMessageImpl. readAsSOAPMessage(Packet packet, boolean inbound)SOAPMessageMessage. readAsSOAPMessage(Packet packet, boolean inbound)Creates the equivalentSOAPMessagefrom this message.PacketPacket. relateClientResponse(Packet response)For use cases that start with an existing Packet.PacketPacket. relateServerResponse(Packet r, WSDLPort wsdlPort, SEIModel seiModel, WSBinding binding)voidPacket. setResponseMessage(Packet request, Message responseMessage, AddressingVersion addressingVersion, SOAPVersion soapVersion, String action) -
Uses of Packet in com.sun.xml.ws.api.pipe
Methods in com.sun.xml.ws.api.pipe that return Packet Modifier and Type Method Description PacketFiber. getPacket()Gets the currentPacketassociated with this fiber.PacketNextAction. getPacket()Returns the last PacketPacketThrowableContainerPropertySet. getResponsePacket()PacketPipe. process(Packet request)Deprecated.PacketFiber. runSync(Tube tubeline, Packet request)Runs a givenTube(and everything thereafter) synchronously.Methods in com.sun.xml.ws.api.pipe that return types with arguments of type Packet Modifier and Type Method Description static Dispatch<Packet>Stubs. createPacketDispatch(com.sun.xml.ws.api.client.WSPortInfo portInfo, WSBinding binding, WSEndpointReference epr)static Dispatch<Packet>Stubs. createPacketDispatch(QName portName, WSService owner, WSBinding binding, Tube next, WSEndpointReference epr)Methods in com.sun.xml.ws.api.pipe with parameters of type Packet Modifier and Type Method Description voidNextAction. abortResponse(Packet response)Indicates that the next action is to abort the processResponse chain because of some non-exception condition.voidCodec. decode(InputStream in, String contentType, Packet response)Reads bytes fromInputStreamand constructs aMessage.voidCodec. decode(ReadableByteChannel in, String contentType, Packet response)ContentTypeCodec. encode(Packet packet, OutputStream out)Encodes an XML infoset portion of theMessage(from <soap:Envelope> to </soap:Envelope>).ContentTypeCodec. encode(Packet packet, WritableByteChannel buffer)The version ofCodec.encode(Packet,OutputStream)that writes to NIOByteBuffer.ContentTypeCodec. getStaticContentType(Packet packet)If the MIME content-type of the encoding is known statically then this method returns it.voidNextAction. invoke(Tube next, Packet p)Indicates that the next action should be to invoke the next tube'sTube.processRequest(Packet), then later invoke the current tube'sTube.processResponse(Packet)with the response packet.voidNextAction. invokeAndForget(Tube next, Packet p)Indicates that the next action should be to invoke the next tube'sTube.processRequest(Packet), but the current tube doesn't want to receive the response packet to itsTube.processResponse(Packet).voidNextAction. invokeAsync(Tube next, Packet p)Indicates that the next action is to invoke the next tube in the tubeline async from the thread that started the tubeline.voidFiber.CompletionCallback. onCompletion(Packet response)Indicates that the fiber has finished its execution.PacketPipe. process(Packet request)Deprecated.NextActionTube. processRequest(Packet request)Acts on a request and perform some protocol specific operation.NextActionTube. processResponse(Packet response)Acts on a response and performs some protocol specific operation.voidFiber. resume(Packet resumePacket)Wakes up a suspended fiber.voidFiber. resume(Packet resumePacket, boolean forceSync)Similar to resume(Packet) but allowing the Fiber to be resumed synchronously (in the current Thread).voidFiber. resume(Packet resumePacket, boolean forceSync, Fiber.CompletionCallback callback)Similar to resume(Packet, boolean) but allowing the Fiber to be resumed and at the same time atomically assign a new CompletionCallback to it.voidFiber. resume(Throwable throwable, Packet packet)Wakes up a suspended fiber with an exception.voidFiber. resume(Throwable error, Packet packet, boolean forceSync)Wakes up a suspend fiber with an exception.voidFiber. resumeAndReturn(Packet resumePacket, boolean forceSync)Wakes up a suspended fiber and begins response processing.voidNextAction. returnWith(Packet response)Indicates that the next action is to flip the processing direction and starts response processing.PacketFiber. runSync(Tube tubeline, Packet request)Runs a givenTube(and everything thereafter) synchronously.voidThrowableContainerPropertySet. setResponsePacket(Packet responsePacket)voidFiber. start(Tube tubeline, Packet request, Fiber.CompletionCallback completionCallback)Starts the execution of this fiber asynchronously.voidFiber. start(Tube tubeline, Packet request, Fiber.CompletionCallback completionCallback, boolean forceSync)Starts the execution of this fiber.voidNextAction. throwException(Packet response, Throwable t)Indicates that the next action is to flip the processing direction and starts exception processing, but with the indicated context. -
Uses of Packet in com.sun.xml.ws.api.server
Methods in com.sun.xml.ws.api.server that return Packet Modifier and Type Method Description abstract PacketWSEndpoint. createServiceResponseForException(ThrowableContainerPropertySet tc, Packet responsePacket, SOAPVersion soapVersion, WSDLPort wsdlPort, SEIModel seiModel, WSBinding binding)This is used by WsaServerTube and WSEndpointImpl to create a Packet with SOAPFault message from a Java exception.protected PacketAbstractServerAsyncTransport. decodePacket(T connection, Codec codec)decodes the transport data to PacketPacketWSWebServiceContext. getRequestPacket()Obtains the request packet that is being processed.PacketWSEndpoint.PipeHead. process(Packet request, WebServiceContextDelegate wscd, TransportBackChannel tbc)Processes a request and produces a reply.Methods in com.sun.xml.ws.api.server with parameters of type Packet Modifier and Type Method Description abstract PacketWSEndpoint. createServiceResponseForException(ThrowableContainerPropertySet tc, Packet responsePacket, SOAPVersion soapVersion, WSDLPort wsdlPort, SEIModel seiModel, WSBinding binding)This is used by WsaServerTube and WSEndpointImpl to create a Packet with SOAPFault message from a Java exception.protected abstract voidAbstractServerAsyncTransport. encodePacket(T connection, Packet packet, Codec codec)Encodes thePacketto infoset and writes on the connection.StringWebServiceContextDelegate. getEPRAddress(Packet request, WSEndpoint endpoint)Gets the address of the endpoint.PrincipalWebServiceContextDelegate. getUserPrincipal(Packet request)ImplementsWebServiceContext.getUserPrincipal()for the given packet.StringWebServiceContextDelegate. getWSDLAddress(Packet request, WSEndpoint endpoint)Gets the address of the primary WSDL.<T> voidInvoker. invokeAsyncProvider(Packet p, T arg, AsyncProviderCallback cbak, WebServiceContext ctxt)<T> TInvoker. invokeProvider(Packet p, T arg)InvokesProvider.invoke(Object)booleanWebServiceContextDelegate. isUserInRole(Packet request, String role)ImplementsWebServiceContext.isUserInRole(String)for the given packet.voidWSEndpoint.CompletionCallback. onCompletion(Packet response)Indicates that the jax-ws runtime has finished execution of a request submitted via schedule().voidInstanceResolver. postInvoke(Packet request, T servant)Called by the defaultInvokerafter the method call is done.PacketWSEndpoint.PipeHead. process(Packet request, WebServiceContextDelegate wscd, TransportBackChannel tbc)Processes a request and produces a reply.voidWSEndpoint. process(Packet request, WSEndpoint.CompletionCallback callback, FiberContextSwitchInterceptor interceptor)abstract TInstanceResolver. resolve(Packet request)Decides which instance of 'T' serves the given request message.voidWSEndpoint. schedule(Packet request, WSEndpoint.CompletionCallback callback)This method takes aPacketthat represents a request, run it through aTubeline, eventually pass it to the user implementation code, which produces a reply, then run that through the tubeline again, and eventually return it as a return value throughWSEndpoint.CompletionCallback.abstract voidWSEndpoint. schedule(Packet request, WSEndpoint.CompletionCallback callback, FiberContextSwitchInterceptor interceptor)Schedule invocation of web service asynchronously. -
Uses of Packet in com.sun.xml.ws.db
Methods in com.sun.xml.ws.db that return Packet Modifier and Type Method Description PacketDatabindingImpl. serializeRequest(JavaCallInfo call)PacketDatabindingImpl. serializeResponse(JavaCallInfo call)Methods in com.sun.xml.ws.db with parameters of type Packet Modifier and Type Method Description voidDatabindingImpl. decode(InputStream in, String ct, Packet p)JavaCallInfoDatabindingImpl. deserializeRequest(Packet req)JavaCallInfoDatabindingImpl. deserializeResponse(Packet res, JavaCallInfo call)ContentTypeDatabindingImpl. encode(Packet packet, OutputStream out)EndpointCallBridgeDatabindingImpl. getEndpointBridge(Packet req) -
Uses of Packet in com.sun.xml.ws.developer
Fields in com.sun.xml.ws.developer declared as Packet Modifier and Type Field Description protected PacketValidationErrorHandler. packetMethods in com.sun.xml.ws.developer with parameters of type Packet Modifier and Type Method Description <EPR extends EndpointReference>
EPRStatefulWebServiceManager. export(Class<EPR> eprType, Packet currentRequest, T o)Exports an object.<EPR extends EndpointReference>
EPRStatefulWebServiceManager. export(Class<EPR> eprType, Packet currentRequest, T o, EPRRecipe recipe)The same asStatefulWebServiceManager.export(Class, Packet, Object)except that it takesEPRRecipe.voidValidationErrorHandler. setPacket(Packet packet)Use it to communicate validation errors with the application. -
Uses of Packet in com.sun.xml.ws.encoding
Methods in com.sun.xml.ws.encoding with parameters of type Packet Modifier and Type Method Description protected voidMtomCodec. decode(MimeMultipartParser mpp, Packet packet)voidRootOnlyCodec. decode(InputStream in, String contentType, Packet packet, AttachmentSet att)Reads root part bytes fromInputStreamand constructs aMessagealong with the given attachments.voidRootOnlyCodec. decode(ReadableByteChannel in, String contentType, Packet packet, AttachmentSet att)protected voidSOAPBindingCodec. decode(MimeMultipartParser mpp, Packet packet)voidSOAPBindingCodec. decode(InputStream in, String contentType, Packet packet)voidSOAPBindingCodec. decode(ReadableByteChannel in, String contentType, Packet packet)voidStreamSOAPCodec. decode(InputStream in, String contentType, Packet packet)voidStreamSOAPCodec. decode(InputStream in, String contentType, Packet packet, AttachmentSet att)voidStreamSOAPCodec. decode(ReadableByteChannel in, String contentType, Packet packet)voidStreamSOAPCodec. decode(ReadableByteChannel in, String contentType, Packet response, AttachmentSet att)protected voidSwACodec. decode(MimeMultipartParser mpp, Packet packet)protected voidXMLHTTPBindingCodec. decode(MimeMultipartParser mpp, Packet packet)voidXMLHTTPBindingCodec. decode(InputStream in, String contentType, Packet packet)static StringMtomCodec. determinePacketEncoding(Packet packet)ContentTypeMtomCodec. encode(Packet packet, OutputStream out)ContentTypeMtomCodec. encode(Packet packet, WritableByteChannel buffer)ContentTypeSOAPBindingCodec. encode(Packet packet, OutputStream out)ContentTypeSOAPBindingCodec. encode(Packet packet, WritableByteChannel buffer)ContentTypeStreamSOAPCodec. encode(Packet packet, OutputStream out)ContentTypeStreamSOAPCodec. encode(Packet packet, WritableByteChannel buffer)ContentTypeSwACodec. encode(Packet packet, WritableByteChannel buffer)ContentTypeXMLHTTPBindingCodec. encode(Packet packet, OutputStream out)ContentTypeXMLHTTPBindingCodec. encode(Packet packet, WritableByteChannel buffer)static StringMtomCodec. getActionParameter(Packet packet, SOAPVersion version)protected abstract ContentTypeStreamSOAPCodec. getContentType(Packet packet)protected ContentTypeImpl.BuilderStreamSOAPCodec. getContenTypeBuilder(Packet packet)protected CodecXMLHTTPBindingCodec. getMimeRootCodec(Packet p)ContentTypeMtomCodec. getStaticContentType(Packet packet)Return the soap 1.1 and soap 1.2 specific XOP packaged ContentTypeContentTypeSOAPBindingCodec. getStaticContentType(Packet packet)ContentTypeStreamSOAPCodec. getStaticContentType(Packet packet)ContentTypeXMLHTTPBindingCodec. getStaticContentType(Packet packet)static ContentTypeMtomCodec. getStaticContentTypeStatic(Packet packet, SOAPVersion version) -
Uses of Packet in com.sun.xml.ws.server
Methods in com.sun.xml.ws.server that return Packet Modifier and Type Method Description PacketWSEndpointImpl. createServiceResponseForException(ThrowableContainerPropertySet tc, Packet responsePacket, SOAPVersion soapVersion, WSDLPort wsdlPort, SEIModel seiModel, WSBinding binding)PacketWSEndpointMOMProxy. createServiceResponseForException(ThrowableContainerPropertySet tc, Packet responsePacket, SOAPVersion soapVersion, WSDLPort wsdlPort, SEIModel seiModel, WSBinding binding)static PacketInvokerTube. getCurrentPacket()This method can be called while the user service is servicing the request synchronously, to obtain the current request packet.Methods in com.sun.xml.ws.server with parameters of type Packet Modifier and Type Method Description PacketWSEndpointImpl. createServiceResponseForException(ThrowableContainerPropertySet tc, Packet responsePacket, SOAPVersion soapVersion, WSDLPort wsdlPort, SEIModel seiModel, WSBinding binding)PacketWSEndpointMOMProxy. createServiceResponseForException(ThrowableContainerPropertySet tc, Packet responsePacket, SOAPVersion soapVersion, WSDLPort wsdlPort, SEIModel seiModel, WSBinding binding)<EPR extends EndpointReference>
EPRStatefulInstanceResolver. export(Class<EPR> adrsVer, Packet currentRequest, T o)<EPR extends EndpointReference>
EPRStatefulInstanceResolver. export(Class<EPR> adrsVer, Packet currentRequest, T o, EPRRecipe recipe)InvokerInvokerTube. getInvoker(Packet request)Returns theInvokerobject that serves the request.voidStatefulInstanceResolver. postInvoke(Packet request, T servant)voidWSEndpointImpl. process(Packet request, WSEndpoint.CompletionCallback callback, FiberContextSwitchInterceptor interceptor)NextActionServerSchemaValidationTube. processRequest(Packet request)NextActionServerSchemaValidationTube. processResponse(Packet response)TSingletonResolver. resolve(Packet request)TStatefulInstanceResolver. resolve(Packet request)voidWSEndpointImpl. schedule(Packet request, WSEndpoint.CompletionCallback callback, FiberContextSwitchInterceptor interceptor)voidWSEndpointMOMProxy. schedule(Packet request, WSEndpoint.CompletionCallback callback, FiberContextSwitchInterceptor interceptor)Constructors in com.sun.xml.ws.server with parameters of type Packet Constructor Description EndpointMessageContextImpl(Packet packet) -
Uses of Packet in com.sun.xml.ws.server.servlet
Methods in com.sun.xml.ws.server.servlet with parameters of type Packet Modifier and Type Method Description THttpSessionInstanceResolver. resolve(Packet request) -
Uses of Packet in com.sun.xml.ws.transport
Methods in com.sun.xml.ws.transport with parameters of type Packet Modifier and Type Method Description NextActionDeferredTransportPipe. processRequest(Packet request)NextActionDeferredTransportPipe. processResponse(Packet response) -
Uses of Packet in com.sun.xml.ws.transport.http
Methods in com.sun.xml.ws.transport.http with parameters of type Packet Modifier and Type Method Description protected voidHttpAdapter. addSatellites(Packet packet)protected voidHttpAdapter. writeClientError(int connStatus, OutputStream os, Packet packet)This method is added for the case of the sub-class wants to override the method to print details. -
Uses of Packet in com.sun.xml.ws.transport.http.servlet
Methods in com.sun.xml.ws.transport.http.servlet with parameters of type Packet Modifier and Type Method Description StringServletConnectionImpl. getEPRAddress(Packet p, WSEndpoint endpoint)PrincipalServletConnectionImpl. getUserPrincipal(Packet p)StringServletConnectionImpl. getWSDLAddress(Packet request, WSEndpoint endpoint)booleanServletConnectionImpl. isUserInRole(Packet p, String role)
-