org.hudsonci.rest.common
Class ProjectNameCodec
java.lang.Object
org.hudsonci.rest.common.ProjectNameCodec
@Named
@Singleton
public class ProjectNameCodec
- extends Object
Helper to encode/decode project names.
This is a hack since '/' causes problems with Apache HTTPD reverse proxy, so
its translated to '@', which must be decoded before being used internally to
lookup projects.
- Since:
- 2.1.0
- Author:
- Jason Dillon
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProjectNameCodec
public ProjectNameCodec()
encode
public String encode(String projectName)
decode
public String decode(String projectName)
Copyright © 2004-2011 Hudson. All Rights Reserved.