Class Request

java.lang.Object
htmlcompiler.model.fakeapi.Request

public final class Request
extends java.lang.Object
  • Field Summary

    Fields 
    Modifier and Type Field Description
    Endpoint endpoint  
  • Constructor Summary

    Constructors 
    Constructor Description
    Request​(Endpoint endpoint, int statusCode, java.util.List<htmlcompiler.model.fakeapi.Request.Header> headers, java.lang.String body)  
  • Method Summary

    Modifier and Type Method Description
    static com.sun.net.httpserver.HttpHandler toHttpHandler​(Request request)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • Request

      public Request​(Endpoint endpoint, int statusCode, java.util.List<htmlcompiler.model.fakeapi.Request.Header> headers, java.lang.String body)
  • Method Details

    • toHttpHandler

      public static com.sun.net.httpserver.HttpHandler toHttpHandler​(Request request)