public class MacroDefinitionRequestSerializer extends Object implements MacroDefinitionSerializer
This is allow us to transport a macro definition as a request parameter without worrying about namespacing or conflicts with other request parameters.
This is currently being used for requesting placeholder images from the server with macro parameters in place. As such we are not interested in the body of the macro definition - only its parameters. This serializer will ignore any body that is attached any MacroDefinition's passed in.
Constructor and Description |
---|
MacroDefinitionRequestSerializer(MacroDefinitionSerializer wikiMarkupSerializer) |
public MacroDefinitionRequestSerializer(MacroDefinitionSerializer wikiMarkupSerializer)
public String serialize(MacroDefinition macroDefinition)
serialize
in interface MacroDefinitionSerializer
Copyright © 2003–2020 Atlassian. All rights reserved.