-
- All Implemented Interfaces:
public class JSONMockServerDSL.Companion
-
-
Field Summary
Fields Modifier and Type Field Description private final MediaTypeMatchermediaTypeMatcherpublic final static JSONMockServerDSL.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final ResponseActionsmock(MockRestServiceServer $self, ExpectedCount expectedCount, HttpMethod method, URI uri, Function1<JSONMockServerDSL, Unit> block)final ResponseActionsmockGet(MockRestServiceServer $self, ExpectedCount expectedCount, URI uri, Function1<JSONMockServerDSL, Unit> block)final ResponseActionsmockPost(MockRestServiceServer $self, ExpectedCount expectedCount, URI uri, Function1<JSONMockServerDSL, Unit> block)final MediaTypeMatchergetMediaTypeMatcher()-
-
Method Detail
-
mock
final ResponseActions mock(MockRestServiceServer $self, ExpectedCount expectedCount, HttpMethod method, URI uri, Function1<JSONMockServerDSL, Unit> block)
-
mockGet
final ResponseActions mockGet(MockRestServiceServer $self, ExpectedCount expectedCount, URI uri, Function1<JSONMockServerDSL, Unit> block)
-
mockPost
final ResponseActions mockPost(MockRestServiceServer $self, ExpectedCount expectedCount, URI uri, Function1<JSONMockServerDSL, Unit> block)
-
getMediaTypeMatcher
final MediaTypeMatcher getMediaTypeMatcher()
-
-
-
-