Class EndpointArgumentsBuilder.AttachmentBuilder

java.lang.Object
com.sun.xml.ws.server.sei.EndpointArgumentsBuilder
com.sun.xml.ws.server.sei.EndpointArgumentsBuilder.AttachmentBuilder
Enclosing class:
EndpointArgumentsBuilder

public abstract static class EndpointArgumentsBuilder.AttachmentBuilder extends EndpointArgumentsBuilder
Reads an Attachment into a Java parameter.
  • Field Details

  • Method Details

    • createAttachmentBuilder

      public static EndpointArgumentsBuilder createAttachmentBuilder(ParameterImpl param, EndpointValueSetter setter)
      Creates an AttachmentBuilder based on the parameter type
      Parameters:
      param - runtime Parameter that abstracts the annotated java parameter
      setter - specifies how the obtained value is set into the argument. Takes care of Holder arguments.
    • readRequest

      public void readRequest(Message msg, Object[] args) throws jakarta.xml.bind.JAXBException, XMLStreamException
      Description copied from class: EndpointArgumentsBuilder
      Reads a request Message, disassembles it, and moves obtained Java values to the expected places.
      Specified by:
      readRequest in class EndpointArgumentsBuilder
      Parameters:
      msg - The request Message to be de-composed.
      args - The Java arguments given to the SEI method invocation. Some parts of the reply message may be set to Holders in the arguments.
      Throws:
      jakarta.xml.bind.JAXBException - if there's an error during unmarshalling the request message.
      XMLStreamException - if there's an error during unmarshalling the request message.