Class InvocationRequestEncoder

java.lang.Object
org.webpki.json.JSONEncoder
org.webpki.keygen2.InvocationRequestEncoder

public class InvocationRequestEncoder extends JSONEncoder
  • Constructor Details

    • InvocationRequestEncoder

      public InvocationRequestEncoder(ServerState serverState)
  • Method Details

    • setAction

      public void setAction(Action action)
    • getQualifier

      public String getQualifier()
      Description copied from class: JSONEncoder
      Optional type indicator for JSON objects belonging to the same @context.
      Overrides:
      getQualifier in class JSONEncoder
      Returns:
      The qualifier name
    • getContext

      public final String getContext()
      Description copied from class: JSONEncoder
      Emulation of XML namespace
      Specified by:
      getContext in class JSONEncoder
      Returns:
      The context name
    • writeJSONData

      protected final void writeJSONData(JSONObjectWriter wr)
      Description copied from class: JSONEncoder
      INTERNAL USE ONLY.
      Specified by:
      writeJSONData in class JSONEncoder
      Parameters:
      wr - A JSON writer