code: @Override
      public void setTrailer(String name, String value) {
  
          HttpTrailers trailers = message.createTrailers();
          HeaderKeys key = HttpHeaderKeys.find(name);
  
          if (trailers.containsDeferredTrailer(key)) {
              trailers.removeDeferredTrailer(key);
          }
  
          HttpTrailerGenerator generator = new HttpTrailerGeneratorImpl(key, value);
          trailers.setDeferredTrailer(key, generator);
  
          return;
      }
docs: /*
  (non-Javadoc)
  
  @see com.ibm.wsspi.http.HttpResponse#getTrailers()