java.lang.Object
de.fraunhofer.iosb.ilt.frostserver.plugin.batchprocessing.batch.Batch<Content>
de.fraunhofer.iosb.ilt.frostserver.plugin.batchprocessing.json.JsonBatch
All Implemented Interfaces:
Content

public class JsonBatch extends Batch<Content>
Parser for JSON request.
  • Constructor Details

    • JsonBatch

      public JsonBatch(de.fraunhofer.iosb.ilt.frostserver.path.Version batchVersion, CoreSettings settings, boolean isChangeSet)
  • Method Details

    • parse

      public boolean parse(ServiceRequest serviceRequest)
      Specified by:
      parse in class Batch<Content>
    • 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.
    • getHeaders

      public Map<String,String> getHeaders()
      Description copied from interface: Content
      Get the headers. This will include the Content-Type header.
      Returns:
      the headers.