Class HttpObjectAnnotation


  • public class HttpObjectAnnotation
    extends java.lang.Object
    HttpObject annotation.
    Author:
    Daniel Sagenschneider
    • Constructor Detail

      • HttpObjectAnnotation

        public HttpObjectAnnotation​(HttpObject annotation)
        Instantiate.
        Parameters:
        annotation - HttpObject
      • HttpObjectAnnotation

        public HttpObjectAnnotation​(java.lang.String... acceptedContentTypes)
        Instantiate.
        Parameters:
        acceptedContentTypes - Accepted content types.
    • Method Detail

      • getAcceptedContentTypes

        public java.lang.String[] getAcceptedContentTypes()
        Obtains the accepted content types.
        Returns:
        Accepted content types.