Class CefriumContentRequest

java.lang.Object
com.cefrium.CefriumContentRequest

public final class CefriumContentRequest extends Object
A request to a CefriumContentServer.
  • Method Details

    • getMethod

      public String getMethod()
      The method, upper case: GET, POST, ...
    • getUrl

      public String getUrl()
      The full URL, as the page requested it.
    • getPath

      public String getPath()
      The path, percent-decoded, starting with /. Below a CefriumPathContentServer prefix it is the part after the prefix: /img/a.png for /assets/img/a.png under /assets/.
    • getQuery

      public String getQuery()
      The query without the ?, still encoded, or null.
    • getHeader

      public String getHeader(String name)
      A request header, by name in any case.
      Returns:
      Its value, or null.
    • getHeaders

      public Map<String,String> getHeaders()
      All request headers; names compare in any case.
    • getBody

      public byte[] getBody()
      The body of a POST or PUT, or null. Parts the page sent as a file or blob are not included.