Class PatchHandler
- java.lang.Object
-
- io.fabric8.kubernetes.client.server.mock.crud.PatchHandler
-
- All Implemented Interfaces:
KubernetesCrudDispatcherHandler
public class PatchHandler extends Object implements KubernetesCrudDispatcherHandler
-
-
Field Summary
-
Fields inherited from interface io.fabric8.kubernetes.client.server.mock.crud.KubernetesCrudDispatcherHandler
HTTP_UNPROCESSABLE_ENTITY, KIND, STATUS
-
-
Constructor Summary
Constructors Constructor Description PatchHandler(KubernetesCrudPersistence persistence)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MockResponsehandle(String path, String contentType, String requestBody)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.fabric8.kubernetes.client.server.mock.crud.KubernetesCrudDispatcherHandler
handle, validatePath, validateRequestBody, validateResourceVersion
-
-
-
-
Constructor Detail
-
PatchHandler
public PatchHandler(KubernetesCrudPersistence persistence)
-
-
Method Detail
-
handle
public MockResponse handle(String path, String contentType, String requestBody) throws KubernetesCrudDispatcherException
- Specified by:
handlein interfaceKubernetesCrudDispatcherHandler- Throws:
KubernetesCrudDispatcherException
-
-