Interface IRestRequest


public interface IRestRequest
Request Object
Author:
I-D Media AG
  • Method Details

    • getByteBody

      @NotNull @org.jetbrains.annotations.NotNull byte[] getByteBody()
      Returns the body of the request.
      Returns:
    • getStringBody

      @NotNull @NotNull String getStringBody()
      Returns the body of the request.
      Returns:
    • getPayloadJsonObject

      @NotNull @NotNull org.json.simple.JSONObject getPayloadJsonObject()
      Get the JSON payload (if available)
      Returns:
    • getPayloadJsonArray

      @NotNull @NotNull org.json.simple.JSONArray getPayloadJsonArray()
      Get the JSON payload (if available)
      Returns:
    • getHeaders

      @Nullable @Nullable io.netty.handler.codec.http.HttpHeaders getHeaders()
      Returns HTTP Headers of Request
      Returns:
      HTTP Headers
    • getParametersFromPostCall

      @NotNull @NotNull Map<String,String> getParametersFromPostCall()
      Explode parameters from body
      Returns:
      Map
    • getJTW

      @Nullable @Nullable IJWTInformation getJTW()
      Get the JWT if available
      Returns:
    • getEndpoint

      @NotNull @NotNull String getEndpoint()
      Get the endpoint
      Returns: