All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pusher.java_websocket.handshake.HandshakeImpl1Client Maven / Gradle / Ivy

The newest version!
package com.pusher.java_websocket.handshake;

public class HandshakeImpl1Client extends HandshakedataImpl1 implements ClientHandshakeBuilder {
	private String resourceDescriptor = "*";

	public HandshakeImpl1Client() {
	}

	public void setResourceDescriptor( String resourceDescriptor ) throws IllegalArgumentException {
		if(resourceDescriptor==null)
			throw new IllegalArgumentException( "http resource descriptor must not be null" );
		this.resourceDescriptor = resourceDescriptor;
	}

	public String getResourceDescriptor() {
		return resourceDescriptor;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy