Skip to content

StatusHttpTransportInterceptor

Markus Sabadello edited this page Feb 4, 2014 · 2 revisions

This interceptor simply returns a plain HTTP status and empty body.

Interfaces and Classes

Properties

  • path: The relative path at which the HTTP status will be returned (default: /status).
  • status: The HTTP status to return (default: 200).

Example Spring Bean

<bean class="xdi2.transport.impl.http.interceptor.impl.StatusHttpTransportInterceptor">
	<property name="path" value="/status" />
	<property name="status" value="200" />
</bean>
Clone this wiki locally