Class RestInterceptor

java.lang.Object
io.mosip.kernel.auth.defaultimpl.intercepter.RestInterceptor
All Implemented Interfaces:
org.springframework.http.client.ClientHttpRequestInterceptor

public class RestInterceptor extends Object implements org.springframework.http.client.ClientHttpRequestInterceptor
RestInterceptor for getting admin token
Author:
Urvil Joshi, Srinivasan
  • Constructor Details

  • Method Details

    • intercept

      public org.springframework.http.client.ClientHttpResponse intercept(org.springframework.http.HttpRequest request, byte[] body, org.springframework.http.client.ClientHttpRequestExecution execution) throws IOException
      Specified by:
      intercept in interface org.springframework.http.client.ClientHttpRequestInterceptor
      Throws:
      IOException