public void getInfo(HttpRequest request, HttpResponder responder,
@PathParam("stream") String stream) throws Exception {
String accountID = getAuthenticatedAccountId(request);
if (streamMetaStore.streamExists(accountID, stream)) {
StreamConfig streamConfig = streamAdmin.getConfig(stream);
StreamProperties streamProperties = new StreamProperties(streamConfig.getName(), streamConfig.getTTL());
responder.sendJson(HttpResponseStatus.OK, streamProperties, StreamProperties.class, GSON);
} else {
responder.sendStatus(HttpResponseStatus.NOT_FOUND);
}
}