Class TranslationServlet.TranslateStatus

    • Constructor Detail

      • TranslateStatus

        protected TranslateStatus()
    • Method Detail

      • doIt

        public void doIt​(@NotNull
                         @NotNull org.apache.sling.api.SlingHttpServletRequest request,
                         @NotNull
                         @NotNull org.apache.sling.api.SlingHttpServletResponse response,
                         @Nullable
                         @Nullable ResourceHandle resource)
                  throws IOException
        Specified by:
        doIt in interface ServletOperation
        Throws:
        IOException
      • readFrom

        protected void readFrom​(BufferedReader reader,
                                Status status)
        Parses the request format.
      • parseMessage

        protected Message parseMessage​(Map<String,​Object> data)
        Reads a message from the input format.