/** * Specifies whether the content can be resent to the output stream and * returns the handle as a fluent convenience. * @param resendable true if the content can be sent again * @return this handle */ public OutputStreamHandle withResendable(boolean resendable) { setResendable(resendable); return this; }
/** * Specifies whether the content can be resent to the output stream and * returns the handle as a fluent convenience. * @param resendable true if the content can be sent again * @return this handle */ public OutputStreamHandle withResendable(boolean resendable) { setResendable(resendable); return this; }
@Override public void writeConfiguration() throws ResourceNotFoundException, ResourceNotResendableException, ForbiddenUserException, FailedRequestException { if (logger.isInfoEnabled()) logger.info("Writing server configuration"); OutputStreamHandle handle = new OutputStreamHandle(this); handle.setResendable(true); services.putValue(null, "config/properties", null, "application/xml", handle); } @Override
@Override public void writeConfiguration() throws ResourceNotFoundException, ResourceNotResendableException, ForbiddenUserException, FailedRequestException { if (logger.isInfoEnabled()) logger.info("Writing server configuration"); OutputStreamHandle handle = new OutputStreamHandle(this); handle.setResendable(true); services.putValue(null, "config/properties", null, "application/xml", handle); } @Override