Package org.codice.proxy.http
Interface HttpProxyService
- All Known Implementing Classes:
HttpProxyServiceImpl
public interface HttpProxyService
Http Proxy service which creates a Camel based http proxy
-
Method Summary
Modifier and TypeMethodDescriptionCreates and starts a proxy given only a target Uri.Creates and starts a proxy given an endpoint name and target Uri.voidStops and destroys the proxy.
-
Method Details
-
start
Creates and starts a proxy given only a target Uri. Generated Endpoint name will be returned.- Parameters:
targetUri-timeout- - in milliseconds- Returns:
- Throws:
Exception
-
start
Creates and starts a proxy given an endpoint name and target Uri. Endpoint name will be returned.- Parameters:
endpointName-targetUri-timeout- - in milliseconds- Returns:
- Throws:
Exception
-
stop
Stops and destroys the proxy.- Parameters:
endpointName-- Throws:
Exception
-