# How to access IClient properties from IHTTPStreamerSession?

**URL:** https://community.wowza.com/t/how-to-access-iclient-properties-from-ihttpstreamersession/37694
**Category:** Wowza Developer Dojo
**Tags:** wowza-streaming-server-java-api
**Created:** [November 28, 2011, 2:02am UTC](https://community.wowza.com/t/how-to-access-iclient-properties-from-ihttpstreamersession/37694 "2011-11-28T02:02:31Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Andy\_Saurin](https://avatars.discourse-cdn.com/v4/letter/a/c68b51/32.png) [@Andy\_Saurin](https://community.wowza.com/u/Andy_Saurin)
#### Post date: [November 28, 2011, 2:02am UTC](https://community.wowza.com/t/how-to-access-iclient-properties-from-ihttpstreamersession/37694/1 "2011-11-28T02:02:31Z")

</div>

Hi,

from within a HTTP stream, I’m trying to do the equivalent of:

String key = IClient.getProperties().getPropertyStr(“SomeKey”)

but resolvePlayAlias for IHTTPStreamerSession doesn’t access IClient…

I’m using [IMediaStreamNameAliasProvider2](https://www.wowza.com/docs/how-to-use-the-imediastreamnamealiasprovider2-interface)

In that class, this is what I _want_ to do 😉

```auto
	public String resolvePlayAlias(IApplicationInstance appInstance,
			String name, IHTTPStreamerSession httpSession) {
		getLogger().info("Resolve Play HTTPSession: " + name);
// ------> Access Client Properties (in <appname>/Application.xml <------ 
			return name;
	}

```

Anyone have any idea?

I found appInstance.getProperties().getPropertyStr(str) but that’s not at all the client properties (or at least it isn’t working like that)

also appInstance.getClient(arg), since this uses IClient, but no idea what the params are, and not even sure if that’s what I want. In any case, it’s deprecated!

helllllp!

---

<div class="post-metadata">

### Author: ![Andy\_Saurin](https://avatars.discourse-cdn.com/v4/letter/a/c68b51/32.png) [@Andy\_Saurin](https://community.wowza.com/u/Andy_Saurin)
#### Post date: [November 28, 2011, 2:15am UTC](https://community.wowza.com/t/how-to-access-iclient-properties-from-ihttpstreamersession/37694/2 "2011-11-28T02:15:36Z")

</div>

appInstance.getProperties().getPropertyStr(str)

was what it was - don’t know why it didn’t work when I tested earlier! prolly forgot to restart wowza 😉
