public class FixedSunURLStreamHandler extends Object implements URLStreamHandlerFactory
They do not understand HTTP. This is the hilarious comment in their source:
"This restriction will prevent people from using this class to experiment w/ new HTTP methods using java. But it should be placed for security - the request String could be arbitrarily long."
Constructor and Description |
---|
FixedSunURLStreamHandler() |
Modifier and Type | Method and Description |
---|---|
URLStreamHandler |
createURLStreamHandler(String protocol) |
public URLStreamHandler createURLStreamHandler(String protocol)
createURLStreamHandler
in interface URLStreamHandlerFactory
Copyright © 2016 4th Line GmbH, Switzerland. All rights reserved.