Interface APIWrapper<T>

Type Parameters:
T -
All Superinterfaces:
Serializable

public interface APIWrapper<T> extends Serializable
This interface is the super interface for all classes that will provide a JAXB wrapper around classes. Any class that will be exposed via JAXB annotations to the JAXRS API may implement this as a convenience to provide a standard method to populate data objects.

This is not a requirement as objects will not generally be passed using a reference to this interface.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    wrapDetails(T model, jakarta.servlet.http.HttpServletRequest request)
     
    void
    wrapSummary(T model, jakarta.servlet.http.HttpServletRequest request)
     
  • Method Details

    • wrapDetails

      void wrapDetails(T model, jakarta.servlet.http.HttpServletRequest request)
    • wrapSummary

      void wrapSummary(T model, jakarta.servlet.http.HttpServletRequest request)