Skip to content

Do not transform request payload Sources when not necessary [SWS-404] #555

@gregturn

Description

@gregturn

Arjen Poutsma opened SWS-404 and commented

Currently, all request Sources are transformed into the required type. For instance, the AbstractDomPayloadEndpoint always transforms the request Source into a DOMResult, and passes that on to invokeInternal(). This is quite expensive, and not required.

Instead, we should inspect the source, and see if it is of the required type. If so, use it directly, otherwise, transform.


No further details from SWS-404

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions