Class JsonRequest

  • All Implemented Interfaces:
    Content

    public class JsonRequest
    extends Request
    • Constructor Detail

      • JsonRequest

        public JsonRequest​(de.fraunhofer.iosb.ilt.frostserver.path.Version batchVersion)
      • JsonRequest

        public JsonRequest​(de.fraunhofer.iosb.ilt.frostserver.path.Version batchVersion,
                           boolean requireContentId)
    • Method Detail

      • getContent

        public String getContent​(boolean allHeaders)
        Description copied from interface: Content
        Get the String content for response.
        Parameters:
        allHeaders - flag indicating all headers should be included. If the content is going to be added to a HttpServletResponse, the headers need to be set separately.
        Returns:
        The content.