/** * Build the <tt>HttpContent</tt> message. * * @return <tt>HttpContent</tt> */ public HttpContent build() { if (httpHeader == null) { throw new IllegalStateException("No HttpHeader specified to associate with this HttpContent."); } HttpContent httpContent = create(); httpContent.httpHeader = httpHeader; httpContent.setLast(last); if (content != null) { httpContent.setContent(content); } return httpContent; }
/** * Build the <tt>HttpContent</tt> message. * * @return <tt>HttpContent</tt> */ public HttpContent build() { if (httpHeader == null) { throw new IllegalStateException("No HttpHeader specified to associate with this HttpContent."); } HttpContent httpContent = create(); httpContent.httpHeader = httpHeader; httpContent.setLast(last); if (content != null) { httpContent.setContent(content); } return httpContent; }
/** * Build the <tt>HttpContent</tt> message. * * @return <tt>HttpContent</tt> */ public HttpContent build() { if (httpHeader == null) { throw new IllegalStateException("No HttpHeader specified to associate with this HttpContent."); } HttpContent httpContent = create(); httpContent.httpHeader = httpHeader; httpContent.setLast(last); if (content != null) { httpContent.setContent(content); } return httpContent; }
/** * Build the <tt>HttpContent</tt> message. * * @return <tt>HttpContent</tt> */ public HttpContent build() { if (httpHeader == null) { throw new IllegalStateException("No HttpHeader specified to associate with this HttpContent."); } HttpContent httpContent = create(); httpContent.httpHeader = httpHeader; httpContent.setLast(last); if (content != null) { httpContent.setContent(content); } return httpContent; }
/** * Build the <tt>HttpContent</tt> message. * * @return <tt>HttpContent</tt> */ public HttpContent build() { if (httpHeader == null) { throw new IllegalStateException("No HttpHeader specified to associate with this HttpContent."); } HttpContent httpContent = create(); httpContent.httpHeader = httpHeader; httpContent.setLast(last); if (content != null) { httpContent.setContent(content); } return httpContent; }
/** * Build the <tt>HttpContent</tt> message. * * @return <tt>HttpContent</tt> */ public HttpContent build() { if (httpHeader == null) { throw new IllegalStateException("No HttpHeader specified to associate with this HttpContent."); } HttpContent httpContent = create(); httpContent.httpHeader = httpHeader; httpContent.setLast(last); if (content != null) { httpContent.setContent(content); } return httpContent; }
/** * Build the <tt>HttpContent</tt> message. * * @return <tt>HttpContent</tt> */ public HttpContent build() { if (httpHeader == null) { throw new IllegalStateException("No HttpHeader specified to associate with this HttpContent."); } HttpContent httpContent = create(); httpContent.httpHeader = httpHeader; httpContent.setLast(last); if (content != null) { httpContent.setContent(content); } return httpContent; }
/** * Build the <tt>HttpContent</tt> message. * * @return <tt>HttpContent</tt> */ public HttpContent build() { if (httpHeader == null) { throw new IllegalStateException("No HttpHeader specified to associate with this HttpContent."); } HttpContent httpContent = create(); httpContent.httpHeader = httpHeader; httpContent.setLast(last); if (content != null) { httpContent.setContent(content); } return httpContent; }
/** * Build the <tt>HttpContent</tt> message. * * @return <tt>HttpContent</tt> */ public HttpContent build() { if (httpHeader == null) { throw new IllegalStateException("No HttpHeader specified to associate with this HttpContent."); } HttpContent httpContent = create(); httpContent.httpHeader = httpHeader; httpContent.setLast(last); if (content != null) { httpContent.setContent(content); } return httpContent; }
/** * Build the <tt>HttpContent</tt> message. * * @return <tt>HttpContent</tt> */ public HttpContent build() { if (httpHeader == null) { throw new IllegalStateException("No HttpHeader specified to associate with this HttpContent."); } HttpContent httpContent = create(); httpContent.httpHeader = httpHeader; httpContent.setLast(last); if (content != null) { httpContent.setContent(content); } return httpContent; }