code: @Override
      public HttpResponseMessage duplicate() {
          if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
              Tr.debug(tc, "Duplicating the response message: " + this);
          }
  
          HttpResponseMessageImpl msg = null;
          HttpObjectFactory factory = getObjectFactory();
          if (null == factory) {
              msg = new HttpResponseMessageImpl();
          } else {
              msg = factory.getResponse();
          }
          msg.setIncoming(isIncoming());
          // set the response specifics
          msg.setStatusCode(this.myStatusCode);
          msg.setReasonPhrase(this.myReasonBytes);
  
          // set the common object values
          super.duplicate(msg);
          return msg;
      }
docs: Duplicate this entire message.
  
  @return HttpResponseMessage