Package 

Class JSONMockRequestKt

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static Unit contentJSON(MockHttpServletRequestDsl $self, Object data) Add JSON POST content to a MockMvc request.
      final static Unit contentJSON(MockHttpServletRequestDsl $self, Function0<Object> lambda) Add JSON POST content to a MockMvc request, invoking a lambda to create to POST data.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • contentJSON

         final static Unit contentJSON(MockHttpServletRequestDsl $self, Object data)

        Add JSON POST content to a MockMvc request.

      • contentJSON

         final static Unit contentJSON(MockHttpServletRequestDsl $self, Function0<Object> lambda)

        Add JSON POST content to a MockMvc request, invoking a lambda to create to POST data.